Retrieve base substitutions from vcf

Share:

Description

A function to extract base substitutions of each position in vcf

Usage

1

Arguments

vcf

A CollapsedVCF object

Value

Character vector with base substitutions

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

muts = mutations_from_vcf(vcfs[[1]])

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.