Description Usage Arguments Value Author(s) See Also Examples
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.
1 2 | ## 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
.
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];
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.