export | R Documentation |
Export data from R
export(object, con, ...)
## S4 method for signature 'TxToGene,character'
export(object, con, ...)
object |
Object. |
con |
|
... |
Additional arguments. |
The TxToGene
method automatically disables writing of column names, which
is the intended input format for tximport.
Invisible character
or list
of file paths.
Updated 2023-09-20.
object <- S4Vectors::DataFrame(
"txId" = c(
"tx0001",
"tx0002",
"tx0003",
"tx0004"
),
"geneId" = c(
"gene0001",
"gene0001",
"gene0002",
"gene0002"
)
)
object <- TxToGene(object)
con <- file.path(AcidBase::tempdir2(), "tx2gene.csv")
export(object = object, con = con)
x <- readLines(con, n = 4L)
print(x)
AcidBase::unlink2(con)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.