validDGEList: Check for Valid DGEList object

View source: R/validDGEList.R

validDGEListR Documentation

Check for Valid DGEList object

Description

Check for existence of standard components of DGEList object.

Usage

validDGEList(y)

Arguments

y

DGEList object.

Details

This function checks that the standard counts and samples components of a DGEList object are present.

Value

DGEList with missing components added.

Author(s)

Gordon Smyth

See Also

DGEList

Examples

counts <- matrix(rpois(4*2,lambda=5),4,2)
dge <- new("DGEList", list(counts=counts))
validDGEList(dge)

OliverVoogd/edgeR documentation built on July 28, 2022, 10:13 p.m.