findMTuples: Find tuples of methylation loci of a given size in a...

Description Usage Arguments Value Examples

Description

Find tuples of methylation loci of a given size in a reference genome.

Usage

1
findMTuples(bsgenome, methinfo, size, exclude = NULL)

Arguments

bsgenome

A BSgenome object for the reference genome of interest.

methinfo

A MethInfo object containing the type of methylation loci for which to search.

size

An integer specifying the size of tuples for which to search.

exclude

A character vector of seqnames to be filtered out from the bsgenome.

Value

An MTuples object containing the tuples.

Examples

1
2
3
4
5
6
## Not run: 
# Find all 2-tuples of CG in the C. elegans reference genome
library(BSgenome.Celegans.UCSC.ce2)
findMTuples(bsgenome = Celegans, methinfo = MethInfo('CG'), size = 2)

## End(Not run)

PeteHaitch/MethylationTuples documentation built on May 8, 2019, 1:30 a.m.