mut_type | R Documentation |
A function to extract the base substitutions from a vcf and translate to the 6 common base substitution types.
mut_type(vcf)
vcf |
A CollapsedVCF object |
Character vector with base substitution types
read_vcfs_as_granges
## See the 'read_vcfs_as_granges()' example for how we obtained the ## following data: vcfs <- readRDS(system.file("states/read_vcfs_as_granges_output.rds", package = "MutationalPatterns" )) mut_type(vcfs[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.