as.MultiSet.CorrData {IdMappingAnalysis} | R Documentation

## Convert CorrData object into MultiSet object

### Description

Convert CorrData object into MultiSet object.#

### Usage

    ## 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

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

[Package IdMappingAnalysis version 1.26.0 Index]