Check for Valid DGEList object

Description

Check for existence of standard components of DGEList object.

Usage

1
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

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.