Skip to contents

Export data from R

Usage

export(object, con, ...)

# S4 method for class 'DESeqAnalysis,character'
export(object, con, compress = FALSE, overwrite = TRUE, quiet = FALSE)

# S4 method for class 'DESeqDataSet,character'
export(object, con, compress = FALSE, overwrite = TRUE, quiet = FALSE)

Arguments

object

Object.

con

character(1). Directory path.

compress

logical(1). Apply gzip compression to all files.

overwrite

logical(1). Overwrite existing file on disk.

quiet

logical(1). Perform command quietly, suppressing messages.

...

Additional arguments.

Value

Invisible character or list of file paths.

Details

Size-factor normalized coutns and FPKM values are calculated on the fly and exported automatically.

Note

Updated 2022-09-13.

Examples

data(deseq)

## DESeqAnalysis ====
con <- AcidBase::tempdir2()
#> Error in vapply(X = X, FUN = FUN, FUN.VALUE = logical(1L), ..., USE.NAMES = useNames): formal argument "USE.NAMES" matched by multiple actual arguments
x <- export(deseq, con = con)
#> Error in h(simpleError(msg, call)): error in evaluating the argument 'con' in selecting a method for function 'export': object 'con' not found
print(x)
#> Error: object 'x' not found
AcidBase::unlink2(con)
#> Error: object 'con' not found