Create summary values for specified IDs

Share:

Description

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

Usage

1
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).

Author(s)

Mark Dunning

Examples

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

data(exampleBLData)

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

}

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.