injectMTVariants: Inject (one or more) variants against rCRS.

Description Usage Arguments Value Examples

View source: R/injectMTvariants.R

Description

FIXME: this function could most likely be orders of magnitude faster. FIXME: this ONLY considers variants injected against rCRS, not RSRS or hg19. FIXME: this function really needs mouse support as well. FIXME: recent changes seem to have destabilized this fn.

Usage

1
injectMTVariants(mvr, coding = TRUE, gr = NULL)

Arguments

mvr

An MVRanges, usually from pileupMT, often subsetted

coding

TRUE to only look at coding regions

gr

A GRanges, usually of protein-coding regions (the default)

Value

1
     The GRanges, with ref/var DNA and AA and 

Examples

1
2
library(MTseekerData)
injectMTVariants(RONKSvariants[["RO_2"]][59]) 

trichelab/MTseeker documentation built on March 8, 2021, 6:20 p.m.