as.data.frame.IdMapBase {IdMappingAnalysis} | R Documentation

## Retrieves a data frame encapsulated within the given IdMapBase object

### Description

Retrieves a data frame encapsulated within the given IdMapBase object. The method can be used as object specific as well as static. In the latter case the method can coerce to `data.frame` either IdMapBase or ExpressionSet derived object by using IdMapBase$as.data.frame(object) call signature.

### Usage

    ## S3 method for class 'IdMapBase'
    as.data.frame(x, row.names=NULL, optional=FALSE, ...)

### Arguments

`row.names` | Not used
`optional` | Not used
`...` | Not used

### Value

A `data.frame` encapsulated within the given IdMapBase object or a `data.frame` to which another IdMapBase or ExpressionSet derived object is coerced.

### Author(s)

Alex Lisovich, Roger Day

### See Also

For more information see `IdMapBase`.

### Examples

     obj<-IdMapBase(examples$msmsExperimentSet);
     DF<-as.data.frame(obj);
     DF[1:20,1:5];

     #convert ExpressionSet to data.frame
     exprSet<-new("ExpressionSet",
        exprs=matrix(runif(1000), nrow=100, ncol=10));
     DF<-IdMapBase$as.data.frame(exprSet);
     DF[1:10,1:5];

[Package IdMappingAnalysis version 1.24.0 Index]