Is there a reasonable way to have many `plotly` pl...
# nostupidquestions
n
Is there a reasonable way to have many
plotly
plots inside some Rmarkdown -> pandoc html report in such a way that it does not take hours to convert to html and result in stupidly large html files?
m
Are your plots self-contained? I think there might be a way to not include all the plotly resources in the self-contained html. Also can you subsample/aggregate your data so your plot data is smaller? Static images, rather than dynamic?
I don't know how it might work if you're using
ggplotly
n
It is probably because I am plotting merqury kmer spectra through ggplotly, and as you mentioned it has to include all data, I am using
ggplotly
, I will try to just plot with normal ggplot, I dont think there is actually much of an advantage of having plotly for such spectra..
m
Why not just display the static plot produced by merqury?
n
Yeah I think thats what I will do, I thought it would be nice to have the plotly mouse-over stuff, but it is not worth the effort