filter_dnam_by_quant_diff {MethReg} | R Documentation

## Select regions with variations in DNA methylation levels above a threshold

### 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

    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

    data("dna.met.chr21")
    dna.met.chr21.filtered <- filter_dnam_by_quant_diff(
      dna.met.chr21
    )

[Package MethReg version 1.4.0 Index]