File: validDGEList.Rd

package info (click to toggle)
r-bioc-edger 3.40.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,484 kB
  • sloc: cpp: 1,425; ansic: 1,109; sh: 21; makefile: 5
file content (39 lines) | stat: -rw-r--r-- 650 bytes parent folder | download | duplicates (3)
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}