
Plot timing of clonal peaks in cancer genome sequencing data
plot_timing.RdThis function generates a plot showing the timing of clonal peaks in cancer genome sequencing data.
Arguments
- fit_results
A list containing the results of the
fit_timingfunction, specificallysummarized_results.- segments
A data frame containing segment information with columns
chr,from,to,Major, andminor.- colour_by
A character string specifying the variable to color the plot by. Default is "karyotype".
- ref
Reference genome desired. Either 'GRCh38' or 'hg19'