View source: R/mutations_from_vcf.R
| mutations_from_vcf | R Documentation |
A function to extract base substitutions of each position in vcf
mutations_from_vcf(vcf)
vcf |
A CollapsedVCF object |
Character vector with base substitutions
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"
))
muts <- mutations_from_vcf(vcfs[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.