computeSizeFactors: computeSizeFactors

Description Usage Arguments Value Author(s) Examples

Description

The function computes the size factors for given factor groups based on the DESeq2 package.

Usage

1
computeSizeFactors(ggd, factorGroups = NULL)

Arguments

ggd

A GenoGAMDataSet object.

factorGroups

A list of grouped IDs (same as the colnames of the GenoGAMDataSet object). Each element of the list represents a group of samples within which size factors are computed. If NULL all samples are regarded to belong to one group.

Value

A GenoGAMDataSet object, where the sizeFactors slot is updated.

Author(s)

Georg Stricker georg.stricker@in.tum.de

Examples

1
2
3
4
5
6
ggd <- makeTestGenoGAMDataSet()
ggd <- computeSizeFactors(ggd)
sizeFactors(ggd)
groups <- list(c("wt_1", "wt_2"), c("mutant_1", "mutant_2"))
ggd <- computeSizeFactors(ggd, factorGroups = groups)
sizeFactors(ggd)

gstricker/fastGenoGAM documentation built on May 17, 2019, 8:56 a.m.