Turn a TopTags Object into a Dataframe
Turn a TopTags
object into a data.frame
.
## S3 method for class 'TopTags' as.data.frame(x, row.names = NULL, ...)
x |
an object of class |
row.names |
|
... |
other arguments are not currently used. |
Convert edgeR objects into data.frames.
This method returns the table
component of a TopTags
object.
For DGEExact
and DGELRT
objects, the genes
and table
components are combined into a data.frame, similar to what is done by topTags
but without sorting or p-value adjustment.
For DGEList
, the genes
and counts
components are combined into a data.frame.
Amongst other things, this functionality allows edgeR objects to be written to files using write.table
or write.csv
.
A data.frame.
Gordon Smyth
as.data.frame
in the base package.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.