Description Usage Arguments Details Author(s) Examples
View source: R/beadLevelData_QC.R
A utility function for quickly creating summary values for particular IDs (e.g. control IDs) on a given section.
1 | quickSummary(BLData, array = 1, transFun = logGreenChannelTransform, reporterIDs = NULL, reporterTags = NULL, reporterFun = function(x) mean(x, na.rm = TRUE))
|
BLData |
a |
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 |
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).
Mark Dunning
1 2 3 4 5 6 7 8 | if(require(beadarrayExampleData)){
data(exampleBLData)
quickSummary(exampleBLData, array=1)
quickSummary(exampleBLData, array=2)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.