plotSlice: 2D cross section of the simulated tumor

Description Usage Arguments Value Author(s)

View source: R/visualize.R

Description

2D cross section of the simulated tumor.

Usage

1
plotSlice(tumor, slice.dim = "x", level = 0, plot.type = "normal")

Arguments

tumor

A list which is the output of simulateTumor().

slice.dim

One of "x", "y" or "z", which denotes the dimension which will be fixed to obtain a 2D cross section.

level

Which value will the dimension given in slice.dim be fixed at?

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. This is exactly the same as plot.type in visualizeTumor.

Value

None.

Author(s)

Phillip B. Nicol


SITH documentation built on Jan. 5, 2021, 5:08 p.m.