View source: R/filterRegions.R
filterRegions | R Documentation |
This function filters out candidate DMRs who have small (e.g., less than 25% quantile) marginal coefficient of variation (CV) in methylation ratio.
filterRegions(Candidates, quant = 0.25)
Candidates |
A list containing "Counts", "Regions", "sf" for read counts,
genomic coordinate of each candidate DMR
and size factor of all samples. See output of |
quant |
A percentage to specify a quantile cutoff. Regions with CV smaller than this quantile would be filtered out. Default is 25%. |
A list with the same structure with input "Candidates" but with a smaller number of candidate DMRs.
# A toy example data(DMR_M3vsWT) # data from TRESS sub.DMR_M3vsWT = filterRegions(DMR_M3vsWT)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.