2D cross section of the simulated tumor.
plotSlice(tumor, slice.dim = "x", level = 0, plot.type = "normal")
A list which is the output of simulateTumor()
.
One of "x", "y" or "z", which denotes the dimension which will be fixed to obtain a 2D cross section.
Which value will the dimension given in slice.dim
be fixed at?
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
.
None.