Description Usage Arguments Value Examples
View source: R/plotInvivoResults.R
Function to plot \(a subset of\) the number of in vitro grown SI ASC, with the probability on oncogenic mutation, compared to number of years of in vivo mutation accumulation of SI ASC.
1 2 3 | plotInvivoResults(r, cell_type = "SI", gene = "all", color = "black",
xlab = "Probability", ylab = "Number of cells", title = "",
pdf_out)
|
r |
Dataframe with results from |
gene |
Character string to indicate which gene must be plotted |
color |
Character string for color of line in figure |
xlab |
Character string with label for x-axis. Default is |
ylab |
Character string with label for y-axis. Default is |
title |
Character string with title of figure. Default is no title |
pdf_out |
Character with file name where to save the figure. If not given, figure will not be saved, only returned from function |
Plot of probablity on oncogenic mutations against cell numbers and years of in vivo mutation accumulation
1 2 3 | r = data.frame(cells = calcCellNumb, muts = calcMutEvents, probs = probDriverMut)
invivo_plot = plotInvivoResults(r, gene = "all", color = "red")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.