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 = F)

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 as a side effect when called

Value

ggplot object


morrislab/TrackSigFreq documentation built on July 5, 2021, 6:33 a.m.