mutations_from_vcf: Retrieve base substitutions from vcf

Description Usage Arguments Value See Also Examples

View source: R/mutations_from_vcf.R

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
7
## 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]])

MutationalPatterns documentation built on Nov. 14, 2020, 2:03 a.m.