A filter function for |codeGenoGAMDataSet

Description

A function to filter the |codeGenoGAMDataSet by the sum or mean of counts to significantly reduce the amount of models to compute

Usage

1
2
filterData(ggd, threshold = NULL, windowsize = 201, mode = c("sum",
  "mean"))

Arguments

ggd

A GenoGAMDataSet object

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?

Value

A GenoGAMDataSet object containing the filtered regions

Author(s)

Georg Stricker georg.stricker@in.tum.de

Examples

1
2
3
ggd <- makeTestGenoGAMDataSet()
fdata <- filterData(ggd, windowsize = 10)
fdata

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.