Description Usage Arguments Value
View source: R/get_mutation_types.R
Given chromosome, position, reference, and altered allele values, returns a mutation catalog. Assumes SNV mutation types conforming to the standard 96-element mutation types.
1 | mutations_to_catalog(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 |
Data frame with columns mutation_type and count
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.