validDGEList: Check for Valid DGEList object

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/validDGEList.R

Description

Check for existence of standard components of DGEList object.

Usage

1

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)

edgeR documentation built on Nov. 17, 2017, 9:48 a.m.