Skip to contents

Create vector of comparisons for DE analysis (either by single condition (sep = NULL) or by combined condition)

Usage

specify_comparisons(se, condition = NULL, sep = NULL, control = NULL)

Arguments

se

SummarizedExperiment containing all necessary information of the proteomics data set

condition

Column name of condition (if NULL, condition saved in SummarizedExperiment will be taken)

sep

Separator that separates both groups in the condition vector (NULL if condition composed only of single group)

control

String of control samples (how the control condition is named) (NULL if no control sample)

Value

Vector of comparisons for DE analysis

Examples

data(tuberculosis_TMT_se)
comparisons <- specify_comparisons(tuberculosis_TMT_se, condition = NULL,
                            sep = NULL, control = NULL)
#> Condition of SummarizedExperiment used!