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)

Arguments

x

a *RangesList or *AlignmentsList

anno

Annotation information for the reference genome

Value

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

Examples

1
2
3
data(mtAnno.rCRS)
data(RONKSvariants, package="MTseekerData")
byStrand(RONKSvariants, mtAnno)

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