I have a render plotly function in which I get some plots of a loop, how can I plot all of them at the same time?
please see a part of my code:
please notice this code is inside of a render plotly
plot_list_final = list()
for (i in 1: length(s)) {
Final_fig_box <- subplot(plot_list1[[i]], plot_list2[[i]])%>%
layout(title = "Inferred Celltype Activity")
plot_list_final[[i]] = Final_fig_box
return(plot_list_final[[i]])
}
I would like to have all plots on a page at the same time, but the code shows only the last plot (last i).
Thanks in advance