as.data.frame.IdMapBase: Retrieves a data frame encapsulated within the given...

Description Usage Arguments Value Author(s) See Also Examples

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

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
 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];
 

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