1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
\name{validDGEList}
\alias{validDGEList}
\alias{validDGEList}
\title{Check for Valid DGEList object}
\description{
Check for existence of standard components of DGEList object.
}
\usage{
validDGEList(y)
}
\arguments{
\item{y}{\code{DGEList} object.}
}
\details{
This function checks that the standard \code{counts} and \code{samples} components of a \code{DGEList} object are present.
}
\value{
\code{DGEList} with missing components added.
}
\author{Gordon Smyth}
\examples{
counts <- matrix(rpois(4*2,lambda=5),4,2)
dge <- new("DGEList", list(counts=counts))
validDGEList(dge)
}
\seealso{
\code{\link{DGEList}}
}
\concept{edgeR classes}
|