Description Usage Arguments Value
View source: R/get_mutation_types.R
Given chromosome, position, reference, and altered allele values, return a vector of SNV mutation types conforming to the standard 96-element mutation types.
1 | get_snv_mutation_type(chr, pos, ref, alt, genome = NULL)
|
chr |
Character vector of chromosomes (must match genome seqlevels) |
pos |
Integer vector of mutation positions |
ref |
Character vector of reference alleles (A, C, G, or T) |
alt |
Character vector of mutated alleles (A, C, G, or T) |
genome |
BSgenome object from which to derive trinucleotide context sequences |
Character vector of mutation types
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.