Export all the results from a DEprot.analyses object into a user-defined folder.

export.analyses(
  DEprot.analyses.object,
  output.folder = "./export",
  contrast.subset = NULL,
  verbose = TRUE
)

Arguments

DEprot.analyses.object

An object of class DEprot.analyses.

output.folder

Path (string) to the output directory. If the folder is not already existing it will be created. Default: "./export".

contrast.subset

Numeric vector indicating the contrasts to use. Default: NULL (all contrasts are exported).

verbose

Logical value to indicate whether progress messages should be printed. Default: TRUE.

Value

Nothing is returned, data are exported locally.

Author

Sebastian Gregoricchio

Examples

if (FALSE) { # \dontrun{
  # Export data for all contrasts
  DEprot::export.analyses(DEprot.analyses.object = DEprot::test.toolbox$diff.exp.limma,
                         output.folder = out_dir,
                          verbose = TRUE)


  # Export data for only a subset of contrasts
  DEprot::export.analyses(DEprot.analyses.object = dpo_analyses,
                          contrast.subset = c(1:3,6),
                          output.folder = out_dir,
                          verbose = TRUE)
} # }