insertSectionData: Modify the sectionData slot

Description Usage Arguments Details Value Author(s) Examples

View source: R/beadLevelData_sectionData.R

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

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
if(require(beadarrayExampleData)){

data(exampleBLData)

qct = makeQCTable(exampleBLData)

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

exampleBLData@sectionData

}

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