as.MultiSet.CorrData {IdMappingAnalysis} | R Documentation |
Convert CorrData object into MultiSet object.#
## S3 method for class 'CorrData' as.MultiSet(this, ...)
... |
Not used |
MultiSet object which assayData contain two matrices corresponding to the transposed data frames (with the mapping identifier column stripped out) encapsulated within the given CorrData object. Due to the nature of the MultiSet object, the sample names of the resulting MultiSet object should be accessed using featureNames() method, and the set of experiment identifiers should be accesed through the call to colnames on the list returned by the assayData() method.
Alex Lisovich, Roger Day
For more information see CorrData
.
library(Biobase); #convert CorrData object to MultiSet mset<-as.MultiSet(examples$corrData); #get sample names samples<-featureNames(mset); print(samples); #retrieve primary and secondary keys annotation(mset); #retreive primary and secondary IDs uniprotIDs<-colnames(assayData(mset)[[1]]); affyIDs<-colnames(assayData(mset)[[2]]); uniprotIDs[1:20]; affyIDs[1:20];