insertSectionData {beadarray} | R Documentation

## Modify the sectionData slot

### Description

A function to modify the sectionData slot of a `beadLevelData` object. Data can be be added if it is a data frame with a number of rows equal to the number of sections in the beadLevelData object.

### Usage

    insertSectionData(BLData, what, data)

### Arguments

`BLData` | a `beadLevelData` object
`what` | a character string specifiying a name for the new data
`data` | a data frame containing the data we wish to add

### Details

This function allows users to modifiy the per\-section information that is included in the sectionData slot. Typical usage would be to store quality control data that has been computed.

### Value

a modified `beadLevelData` object with the new data attached to sectionData

### Author(s)

Mark Dunning

### Examples

    if(require(beadarrayExampleData)){

    data(exampleBLData)

    qct = makeQCTable(exampleBLData)

    exampleBLData = insertSectionData(exampleBLData, what="ProbeQC", data = qct)

    exampleBLData@sectionData

    }

[Package beadarray version 2.40.0 Index]