plot_tumor3d | R Documentation |
3D plotting with rgl
plot_tumor3d(.tbl = NULL, limits = NULL)
snapshot_surface(.tbl, filename = tempfile("rgl_", fileext = ".png"), ...)
add_col(.tbl, column = "clade", palette = "turbo", ...)
.tbl |
data.frame with (x, y, z, col) |
limits |
passed to xlim, ylim, zlim of |
filename |
string |
... |
passed to |
column |
column name to colorcode |
palette |
name of palette in grDevices or viridis. |
plot_tumor3d
plots tumor in 3D with rgl.
snapshot_surface
is a shortcut of plot_tumor3d()
and rgl::snapshot3d()
.
add_col
adds a column for color in plot_tumor3d()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.