View source: R/minGroupCount.R
minGroupCount | R Documentation |
Return the size of the smallest group
minGroupCount(obj)
## S3 method for class 'DGEList'
minGroupCount(obj)
## S3 method for class 'EdgeObject'
minGroupCount(obj)
obj |
A |
Integer
minGroupCount(DGEList)
: Return the size of the smallest group defined in
the DGEList
object
minGroupCount(EdgeObject)
: Return the size of the smallest group defined in
the EdgeObject
object
y <- matrix(rnbinom(12000,mu=10,size=2),ncol=6)
d <- DGEList(counts=y, group=rep(1:3,each=2))
minGroupCount(d) ## 2
d2 <- DGEList(counts=y, group=rep(1:2,each=3))
minGroupCount(d2) ## 3
d3 <- DGEList(counts=y, group=rep(1:3, 1:3))
minGroupCount(d3) ## 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.