View source: R/Seurat.Utils.Visualization.R
SavePlotlyAsHtml | R Documentation |
Save a Plotly 3D scatterplot as an HTML file.
SavePlotlyAsHtml(plotly_obj, category. = category, suffix. = NULL)
plotly_obj |
The Plotly object to save. |
category |
The category of the plot. |
suffix |
A suffix to add to the filename. |
OutputDir |
The output directory. |
saveWidget
## Not run:
plt <- plotly::plot_ly("some stuff")
SavePlotlyAsHtml(plt, category. = "label.categ", suffix. = "test")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.