R/beadLevelData_dim.R

## Returns the dimensions of a beadLeveLData object
## First element is the number of arrays
## Subsequent elements are the number of beads on each array

setMethod("dim", "beadLevelData", function(x) {
    an = sectionNames(x)
    nArrays = length(an)
    nBeads = numBeads(x)
    c("nArrays"=nArrays, "nBeads"=nBeads)
 } )

Try the beadarray package in your browser

Any scripts or data that you put into this service are public.

beadarray documentation built on Nov. 8, 2020, 4:51 p.m.