export | R Documentation |
Export data from R
export(object, con, ...)
## S4 method for signature 'FgseaList,character'
export(
object,
con,
geneSetResults = FALSE,
compress = FALSE,
overwrite = TRUE,
quiet = FALSE
)
object |
Object. |
con |
|
geneSetResults |
|
compress |
|
overwrite |
|
quiet |
|
... |
Additional arguments. |
Invisible character
or list
of file paths.
Example:
file.path("object", "mutant_vs_control", "c1.csv")
S4 object is currently structured by:
Gene set (c1-c8, h).
Contrast.
The object was structured in this manner to flow with the R Markdown template. However, when writing to disk, I think it makes more sense to organize by:
Contrast
Gene set.
Updated 2023-09-13.
data(fgsea)
## FgseaList ====
object <- fgsea
con <- AcidBase::tempdir2()
out <- export(
object = object,
con = con
)
print(out)
AcidBase::unlink2(con)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.