Learn R Programming

beadarray (version 2.22.2)

quickSummary: Create summary values for specified IDs

Description

A utility function for quickly creating summary values for particular IDs (e.g. control IDs) on a given section.

Usage

quickSummary(BLData, array = 1, transFun = logGreenChannelTransform, reporterIDs = NULL, reporterTags = NULL, reporterFun = function(x) mean(x, na.rm = TRUE))

Arguments

BLData
a beadLevelData object
array
Which section to summarize
transFun
a transformation to be applied prior to summarization
reporterIDs
vector specifying the set of IDs to be summarized
reporterTags
a vector that divides the supplied IDs into categories
reporterFun
a function used to summarize each category

Details

The function can be used to calculate summarized values for particular control types on a section. The IDs for all controls are supplied in the reporterIDs argument along with which control type they belong to in the reporterTags argument. A summarized value for each control type is then calculated with the specified function (default is mean).

Examples

Run this code

if(require(beadarrayExampleData)){

data(exampleBLData)

quickSummary(exampleBLData, array=1)
quickSummary(exampleBLData, array=2)

}

Run the code above in your browser using DataLab