Skip to contents

This function retrieves and loads the MutationTimeR timing estimates for a single sample_id for all successfully timed and un-timed SSMs and CNAs.

Usage

get_timed_mutations(this_sample_metadata, projection, verbose = FALSE)

Arguments

this_sample_metadata

Metadata with one row containing the details for the desired genome sample_id

projection

Genome build projection (e.g., "hg38" or "grch37").

verbose

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

Value

a named list containing two data.frames with the ssm and cna timing information

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")

 head(timed$CNA)

 head(timed$SSM)
} # }