Description Usage Arguments Value Author(s) See Also Examples
Convert CorrData object into MultiSet object.#
1 2 | ## 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
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 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];
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.