addPhiHist: Display a histogram of mutation phi and signature exposure...

Description Usage Arguments Value

View source: R/plotting.R

Description

Display a histogram of mutation phi and signature exposure for a signature trajectory

Usage

1
addPhiHist(trajectory, trajPlot, truncateStrategy = c("exclude", "stack"))

Arguments

trajectory

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

trajPlot

a ggplot object generated using plotTrajectory @seealso [plotTrajectory()]

truncateStrategy

strategy to handle a truncated axis (for example, for a trajectory plotted with anmac = F).
One of "exclude", in which mutations lying off the axis are not displayed, or "stack, in which mutaitons lying off the axis are added to the first histogram bin.
It is advised to use "exclude", unless there are very few clonal mutations.

Value

tableGrob


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