Description Usage Arguments Value See Also Examples
View source: R/get_dbs_context.R
Get the DBS COSMIC context on an GRanges/GRangesList object. It applies the get_dbs_context_gr function to each gr in the input, which works by changing the REF and ALT columns of the GRanges into the COSMIC types.
| 1 | get_dbs_context(vcf_list)
 | 
| vcf_list | GRanges/GRangesList | 
A version of the GRanges/GRangesList object, with modified REF and ALT columns.
get_mut_type, read_vcfs_as_granges
Other DBS: 
count_dbs_contexts(),
plot_compare_dbs(),
plot_dbs_contexts(),
plot_main_dbs_contexts()
| 1 2 3 4 5 6 7 8 | ## Get GRangesList with DBS.
## See 'get_mut_type' or 'read_vcfs_as_granges' for more info on how to do this.
dbs_grl <- readRDS(system.file("states/blood_grl_dbs.rds",
  package = "MutationalPatterns"
))
## Set context dbs
get_dbs_context(dbs_grl)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.