ewaff.cpg.summary: Summarize CpG distributions

View source: R/cpg-summary.r

ewaff.cpg.summaryR Documentation

Summarize CpG distributions

Description

Summarize CpG site quantiles (0, 10, 15, 50, 75, 90, 100), the mean, and SD.

Usage

ewaff.cpg.summary(methylation, cpgs.are.rows = T)

Arguments

methylation

DNA methylation matrix, one row per CpG site, one column per sample.

cpgs.are.rows

logical argument to allow CpG sites to be in columns instead of rows.

...

Arguments to glm.

Value

matrix with columns of each requested summary statistics and row for each CpG in methylation


perishky/ewaff documentation built on Jan. 31, 2024, 11:29 p.m.