Learn R Programming

beadarray (version 2.22.2)

numBeads: Gets the number of beads from a beadLevelData object

Description

Retrieves the number of beads on selected sections from a beadLevelData object.

Usage

numBeads(object, arrays=NULL)

Arguments

object
beadLevelData
arrays
either NULL to return the bead numbers for all arrays, or a scalar or vector of integers specifying a subset of strips/arrays

Value

A vector containing the number of beads on individual array sections.

Details

numBeads retrieves the number of beads on arrays from the arrayInfo slot.

Examples

Run this code

if(require(beadarrayExampleData)){

data(exampleBLData)
numBeads(exampleBLData)
numBeads(exampleBLData, arrays=2)

}

Run the code above in your browser using DataLab