Draw clonal structure for a sample with single or multiple clones/subclones using polygon and tree plots
draw.sample.clones(v, x = 1, y = 0, wid = 30, len = 9,
clone.shape = "bell", bell.curve.step = 0.25, bell.border.width = 1,
clone.time.step.scale = 1, label = NULL, text.size = 1,
cell.frac.ci = FALSE, disable.cell.frac = FALSE,
zero.cell.frac.clone.color = NULL,
zero.cell.frac.clone.border.color = NULL,
nonzero.cell.frac.clone.border.color = NULL,
nonzero.cell.frac.clone.border.width = NULL,
zero.cell.frac.clone.border.width = NULL, top.title = NULL,
adjust.clone.height = TRUE, cell.frac.top.out.space = 0.75,
cell.frac.side.arrow.width = 1.5, variants.to.highlight = NULL,
variant.color = "blue", variant.angle = NULL, show.time.axis = TRUE,
color.node.by.sample.group = FALSE, color.border.by.sample.group = TRUE,
show.clone.label = TRUE, wscale = 1)
clonal structure data frame (output of enumerate.clones)
c("bell", polygon"); shape of the object used to present a clone in the clonal evolution plot.
if TRUE, rescale the width of polygon such that subclones should not have total vaf > that of parent clone when drawing polygon plot
spacing between cell frac annotation when annotating on top of the plot
width of the line and arrow pointing to the top edge of the polygon from the cell frac annotation on top
color border of bell plot based on sample grouping
a data frame of 2 columns: cluster, variant.name Variants in this data frame will be printed on the clone shape
see draw.clone function's bell.curve.step param
c(TRUE,FALSE); if TRUE, do not display zero cell frac clones
scaling factor for distance between the tips of the polygon/bell representing clone; see also wscale
color clone with zero cell fraction in the sample with this color (default = NULL, color using matching color auto-generated)
disable cellular fraction display
show clone label in bell tip
border color of nonzero cell frac clone; if = "fill", use clone fill color
bell border with for nonzero cell frac clone