edgeR (version 3.14.0)

validDGEList: Check for Valid DGEList object

Description

Check for existence of standard components of DGEList object.

Usage

validDGEList(y)

Arguments

y
DGEList object.

Value

DGEList with missing components added.

Details

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

See Also

DGEList

Examples

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

Run the code above in your browser using DataLab