computeSizeFactors {GenoGAM} | R Documentation

## computeSizeFactors

### Description

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

### Usage

    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. Size factors are not computed between groups.

### Value

An updated GenoGAMDataSet object.

### Author(s)

Georg Stricker georg.stricker@in.tum.de

### Examples

    ggd <- makeTestGenoGAMDataSet()
    ggd <- computeSizeFactors(ggd)

[Package GenoGAM version 1.8.0 Index]