Export data out of R and write to disk.
export(object, ...) # S4 method for DESeqAnalysis export(object, name = NULL, dir = ".", compress = FALSE) # S4 method for DESeqDataSet export(object, name = NULL, dir = ".", compress = FALSE)
An object supporting
Size-factor normalized coutns and FPKM values are calculated on the fly and exported automatically.
Some export utilities in R have a tendency to drop row names when writing to
disk in CSV format. For example, the readr family of functions never
write row names by design. This is a really poor default setting for
handling genomic data, which often contain gene identifiers in the row names.
Here we're performing any internal tibble coercion step to ensure row names
are always moved to a
"rowname" column in the CSV export.
Note that this function currently wraps
data.table::fwrite() by default
matrix class objects.