plot_data_2d | R Documentation |
This function creates an interactive plot of the data.
plot_data_2d(data, file, group = FALSE, size = 1.5, alpha = 1)
data |
A data frame with taxon name in the row name, path length in the 1st column, node count in the 2nd, and group assignment in the 3rd (optional) |
file |
Output file directory (save as an .html file) |
group |
If |
size |
Size of data point |
alpha |
Transparency of data point (0: transparent; 1: opaque) |
This function outputs an object of the plotly
class to an HTML
file.
Kevin Surya
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.