dmrff.pre: dmrff.pre

View source: R/pre.r

dmrff.preR Documentation

dmrff.pre

Description

Construct an object for including this dataset in a DMR meta-analysis.

Usage

dmrff.pre(estimate, se, methylation, chr, pos, maxsize = 20, verbose = T)

Arguments

estimate

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

se

Vector of standard errors of the effect estimates.

methylation

Methylation matrix (rows=features, columns=samples).

chr

Feature chromosome (corresponds to rows of methylation).

pos

Feature chromosome position.

maxsize

Maximum number of CpG sites in a DMR.

verbose

If TRUE (default), then output status messages.

Details

Warning! Ensure that the order of the CpG sites corresponding to the the rows of 'methylation' match the order of the CpG sites corresponding to the other variables, e.g. 'estimate' and 'chr'.

Value

A list object containing all information needed for inclusion in a meta-analysis.


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