visualizeTumor {SITH}R Documentation

Interactive visualization of the simulated tumor

Description

Interactive visualization of the simulated tumor using the rgl package (if available).

Usage

visualizeTumor(tumor, plot.type = "normal", background = "black", axes = FALSE)

Arguments

tumor

A list which is the output of simulateTumor().

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).

Details

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.

Value

None.

Author(s)

Phillip B. Nicol


[Package SITH version 1.1.0 Index]