filterData: A filter function for |codeGenoGAMDataSet

Description Usage Arguments Value Author(s) Examples

View source: R/filter.R

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 [email protected]

Examples

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

GenoGAM documentation built on May 31, 2017, 2:27 p.m.