Skip to contents

This function plots the timing information from MutationTimeR for SSMs and CNAs.

Usage

plot_MutationTimeR(this_sample_metadata, timed_cna, timed_ssm, verbose = FALSE)

Arguments

this_sample_metadata

Metadata with one row containing your sample details

timed_cna

Timed CNAs from `GAMBLR.results::get_timed_mutations`

timed_ssm

Timed SSMs from `GAMBLR.results::get_timed_mutations`

verbose

Set to TRUE for a chattier experience. Default is FALSE.

Value

a named list containing two plot objects, `full` with the plot of all chromosomes and `minimal` with the plot of only chromosomes with timed CNAs.

Examples


if (FALSE) { # \dontrun{
my_meta = suppressMessages(get_gambl_metadata()) %>%
  dplyr::filter(sample_id=="01-20985T",
               seq_type=="genome")
timed = GAMBLR.results::get_timed_mutations(my_meta,"hg38")

all_plots = plot_MutationTimeR(my_meta,timed$CNA,timed$SSM)

all_plots$full

all_plots$minimal
} # }