getExperimentSet.CorrData {IdMappingAnalysis} | R Documentation

## Get experiment set data frame for a given modality

### Description

Get experiment set data frame for a given modality.

### Usage

    ## S3 method for class 'CorrData'
    getExperimentSet(this, modality, as=c("data.frame", "ExpressionSet"), IDs=NULL, verbose=FALSE, ...)

### Arguments

`modality` | Experiment modality for which data to be retrieved, i.e. 'Uniprot', 'Affy' etc.
`as` | `character` string defining in what format to the experiment data should be returned. The possible values are either 'data.frame' (default) or 'ExpressionSet'.
`IDs` | Optional character vector of ID subset for which data to be retrieved, or `NULL` (default) in which case data for all IDs returned.
`verbose` | if `TRUE` enables diagnostic messages. Default is `FALSE`.
`...` | Not used

### Value

Depending on 'as' argument, either EspressionSet or `data.frame` containing experiment data for a given modality.

### Author(s)

Alex Lisovich, Roger Day

### See Also

For more information see `CorrData`.

### Examples

     #retrieve msms ('Uniprot') experiment data as a data frame
     expSetDF<-examples$corrData$getExperimentSet(modality="Uniprot",as="data.frame");
     expSetDF[1:10,1:5];

     #retrieve mrns ('Affy') experiment data as an ExpressionSet
     expSet<-examples$corrData$getExperimentSet(modality="Affy",as="ExpressionSet");
     print(expSet);
     expSetDF<-t(as(expSet,"data.frame"));
     expSetDF[1:10,1:5];

[Package IdMappingAnalysis version 1.28.0 Index]