filter_dnam_by_quant_diff: Select regions with variations in DNA methylation levels...

Description Usage Arguments Value Examples

View source: R/filter_by_quantile.R

Description

For each region, compares the mean DNA methylation (DNAm) levels in samples with high DNAm (Q4) vs. low DNAm (Q1) and requires the difference to be above a threshold.

Usage

1
filter_dnam_by_quant_diff(dnam, diff.mean.th = 0.2, cores = 1)

Arguments

dnam

DNA methylation matrix or SumarizedExperiment object

diff.mean.th

Threshold for difference in mean DNAm levels for samples in Q4 and Q1

cores

Number of CPU cores to be used in the analysis. Default: 1

Value

A subset of the original matrix only with the rows passing the filter threshold.

Examples

1
2
3
4
data("dna.met.chr21")
dna.met.chr21.filtered <- filter_dnam_by_quant_diff(
  dna.met.chr21
)

MethReg documentation built on Nov. 8, 2020, 8:01 p.m.