dmrff.candidates: dmrff.candidates

View source: R/candidates.r

dmrff.candidatesR Documentation

dmrff.candidates

Description

Identify candidate differentially methylated regions from EWAS summary statistics.

Usage

dmrff.candidates(
  estimate,
  p.value,
  chr,
  pos,
  maxgap = 500,
  p.cutoff = 0.05,
  verbose = T
)

Arguments

estimate

Vector of EWAS effect estimates (corresponds to rows of methylation).

p.value

Vector of p-values.

chr

Feature chromosome (corresponds to rows of methylation).

pos

Feature chromosome position.

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.


perishky/dmrff documentation built on July 19, 2024, 5:16 a.m.