byStrand: simple helper function to split a *RangesList by the strand...

Description Usage Arguments Value Examples

View source: R/byStrand.R

Description

If presented with a GAlignments/MAlignments, this method will split the element by strand, i.e. + alignments and - alignments. Otherwise the method retrieves ranges/variant calls that overlap genic elements on the heavy and light strands of the mitochondrial genome.

Usage

1
byStrand(x, anno = NULL)

Arguments

x

a *Ranges[List] or *Alignments[List]

anno

optional feature annotation, will use mtAnno.rCRS if NULL

Value

elements of x over features on each strand OR x split by strand

Examples

1
2
data(RONKSvariants, package="MTseekerData")
byStrand(RONKSvariants)

MTseeker documentation built on Oct. 31, 2019, 3:20 a.m.