plotTrajectory: Plot the exolutionary trajectory of a tumour

Description Usage Arguments Value

View source: R/plotting.R

Description

For each bin in a set of signature mixtures, the mixture is plotted accross pseudo-time. Provided changepoints will be highlighted.

Usage

1
plotTrajectory(trajectory, linearX = F, anmac = F, show = T)

Arguments

trajectory

a list containing named elements "mixtures", "changepoints", and "binData". See @seealso TrackSig.

linearX

logical whether to plot with a linearly spaced x-axis grid, or with binned phi values

anmac

logical whether to plot x-axis restricted to ccf space, or use estimated average number of mutant alleles per cell (anmac)

show

logical whether to print the plot

Value

ggplot object


morrislab/TrackSigFreq documentation built on June 29, 2020, 5:13 a.m.