Description Usage Arguments Details Value Author(s)
Interactive visualization of the simulated tumor using the rgl
package (if available).
1 | visualizeTumor(tumor, plot.type = "normal", background = "black", axes = FALSE)
|
tumor |
A list which is the output of |
plot.type |
Which type of plot to draw. "Normal" assigns a random rgb value to each genotype while "heat" colors cells with more mutations red and cells with fewer mutations blue. |
background |
If rgl is installed, this will set the color of the background |
axes |
Will include axes (rgl only). |
If rgl is installed, then the plots will be interactive. If rgl is unavailable, static plots will be created with scatterplot3d. Since plotting performance with scatterplot3d is reduced, it is strongly recommended that rgl is installed for optimal use of this function.
None.
Phillip B. Nicol
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.