dmrff.cohort: dmrff.cohort

View source: R/cohort.r

dmrff.cohortR Documentation

dmrff.cohort

Description

Identify differentially methylated regions within an individual dataset with a 'pre' object.

Usage

dmrff.cohort(object, maxgap = 500, p.cutoff = 0.05, verbose = T)

Arguments

object

Object generated by dmrff.pre for the dataset.

maxgap

Maximum distance between consecutive features (Default: 500bp).

p.cutoff

Unadjusted p-value cutoff for membership in a candidate DMR (Default: 0.05).

verbose

If TRUE (default), then output status messages.

Value

A data frame listing all candidate regions and their summary statistics.

Examples

pre <- dmrff.pre(est, se, p, meth, ...)
dmrs <- dmrff.cohort(pre)
dmrs[which(dmrs$p.adjust < 0.05 & dmrs$n > 1), ]


perishky/dmrff documentation built on Jan. 4, 2024, 10:23 p.m.