as.MultiSet.CorrData: Convert CorrData object into MultiSet object

Description Usage Arguments Value Author(s) See Also Examples

Description

Convert CorrData object into MultiSet object.#

Usage

1
2
## S3 method for class 'CorrData'
as.MultiSet(this, ...)

Arguments

...

Not used

Value

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.

Author(s)

Alex Lisovich, Roger Day

See Also

For more information see CorrData.

Examples

 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];
 

IdMappingAnalysis documentation built on Oct. 31, 2019, 3:30 a.m.