Description Usage Arguments Details Value Examples
Adds extra probe-specific data to an ExpressionSetIllumina
object using an installed annotation package
1 2 | addFeatureData(data, toAdd = c("SYMBOL", "PROBEQUALITY",
"CODINGZONE", "PROBESEQUENCE"), annotation = NULL)
|
data |
An ExpressionSetIllumina object |
toAdd |
Either a pre-prepared data frame, or characters which refer to mappings within an annotation pacakge |
annotation |
Optional character identifying the annotation of the ExpressionSetIllumina object. e.g. Humanv3, Mousev2. |
The function will identify which package should be used by concatenating the character string illumina with the value of the annotation slot of the object, or the annotation argument passed in. If this package is not installed on the users computer, then the function will fail.
Assuming the package has been correctly loaded, the character vector toAdd
is converted to the names of environments within the package. These environments are then queried with the featureNames
of the input object. The result of each query is converted to a data frame and merged with the original feature data of the object.
Alternatively, rather than querying from an annotation pacakge, a pre-prepared data frame can be used.
An ExpressionSetIllumina object with modified featureData
1 2 3 4 5 6 7 | if(require(beadarrayExampleData)){
data(exampleSummaryData)
exampleSummaryData <- addFeatureData(exampleSummaryData)
head(fData(exampleSummaryData))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.