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)

hiraksarkar/edgeR_fork documentation built on Dec. 20, 2021, 3:52 p.m.