as.data.frame.IdMapBase {IdMappingAnalysis} | R Documentation |
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.
## S3 method for class 'IdMapBase' as.data.frame(x, row.names=NULL, optional=FALSE, ...)
row.names |
Not used |
optional |
Not used |
... |
Not used |
A data.frame
encapsulated within the given IdMapBase object or a data.frame
to which another IdMapBase or ExpressionSet derived object is coerced.
Alex Lisovich, Roger Day
For more information see IdMapBase
.
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];