as.data.frame | R Documentation |
Coerce object to data.frame
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
## S4 method for signature 'IRanges'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
## S4 method for signature 'Matrix'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
x |
Object. |
row.names, optional |
Refer to |
... |
Additional arguments. |
data.frame
.
Updated 2023-10-06.
data(
IRanges,
sparseMatrix,
package = "AcidTest"
)
## `IRanges` to `data.frame` ====
from <- IRanges
to <- as.data.frame(from)
head(to)
## `Matrix` to `data.frame` ====
from <- sparseMatrix
to <- as.data.frame(from)
head(to)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.