filterData {GenoGAM} | R Documentation |
A function to filter the |codeGenoGAMDataSet by the sum or mean of counts to significantly reduce the amount of models to compute
filterData(ggd, threshold = NULL, windowsize = 201, mode = c("sum", "mean"))
ggd |
A |
threshold |
A value for the mean or sum of counts, which will be used to filter on basepair level. By default it is taken as median + 3*MAD |
windowsize |
The sliding window size. Should be an odd value. |
mode |
Should the sum or the mean of counts be used? |
A GenoGAMDataSet
object containing the filtered regions
Georg Stricker georg.stricker@in.tum.de
ggd <- makeTestGenoGAMDataSet() fdata <- filterData(ggd, windowsize = 10) fdata