CreateRNAOutputStructure generates the output directories used by RunDESeq2, ProcessDEGs, RunDiffBind, and ProcessDBRs.

CreateOutputStructure(block, level, base, chip = FALSE)

Arguments

block

String or character vector defining the variable(s) to use to block for unwanted variance, e.g. batch or technical effects.

level

String defining variable of interest.

base

String defining the base output path.

chip

Boolean indicating whether output is being created for ChIP-seq.

Value

A named List containing the modified base output path and design formula.