mutation_types: Retrieve base substitution types from a VCF object

Description Usage Arguments Value See Also Examples

Description

A function to extract the base substitutions from a vcf and translate to the 6 common base substitution types.

Usage

1

Arguments

vcf

A CollapsedVCF object

Value

Character vector with base substitution types

See Also

read_vcfs_as_granges

Examples

1
2
3
4
5
6
## 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"))

mutation_types(vcfs[[1]])


Search within the MutationalPatterns package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.