numBeads {beadarray} | R Documentation

## 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

### Details

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

### Value

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

### Author(s)

Matt Ritchie

### Examples

    if(require(beadarrayExampleData)){

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

    }

[Package beadarray version 2.44.0 Index]