filter_dnam_by_quant_diff {MethReg} | R Documentation |
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.
filter_dnam_by_quant_diff(dnam, diff.mean.th = 0.2, cores = 1)
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 |
A subset of the original matrix only with the rows passing the filter threshold.
data("dna.met.chr21") dna.met.chr21.filtered <- filter_dnam_by_quant_diff( dna.met.chr21 )