plotSlice {SITH}R Documentation

2D cross section of the simulated tumor

Description

2D cross section of the simulated tumor.

Usage

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


[Package SITH version 1.1.0 Index]