funByPM: Apply a function to a 'MethylationTuples::MethPat' object,...

Description Usage Arguments Value

Description

Apply a function to a MethylationTuples::MethPat object, with results stratified by the region type of the accompanying PartitionedMethylome.

Usage

1
funByPM(FUN, pm, methpat, min_cov, ...)

Arguments

FUN

The function to be applied to each element of pm: see 'Details'. Only a limited number of functions are currently supported, specifically MethylationTuples::methLevel(), MethylationTuples::cometh(), and MethylationTuples::patternFreqs().

pm

A PartitionedMethylome object.

methpat

A MethylationTuples::MethPat object.

min_cov

An integer specifying the minimum coverage required in order to use an m-tuple in the analysis.

...

Optional arguments to FUN.

Value

A data.table::data.table.


PeteHaitch/methsim documentation built on May 8, 2019, 1:32 a.m.