tidy_metadata {multiDEGGs} | R Documentation |
Tidying up of metadata. Samples belonging to undesidered categories (if specified) will be removed as well as categories with less than five samples, and NAs.
Description
Tidying up of metadata. Samples belonging to undesidered categories (if specified) will be removed as well as categories with less than five samples, and NAs.
Usage
tidy_metadata(
category_subset = NULL,
metadata,
category_variable = NULL,
verbose = FALSE
)
Arguments
category_subset |
optional character vector indicating which categories
are used for comparison. If not specified, all categories in
|
metadata |
a named vector, matrix, or data.frame containing sample
annotations or categories. If matrix or data.frame, each row should
correspond to a sample, with columns representing different sample
characteristics (e.g., treatment group, condition, time point). The colname
of the sample characteristic to be used for differential analysis must be
specified in |
category_variable |
column name in |
verbose |
Logical. Whether to print detailed output messages during processing. Default is FALSE. |
Value
a tidy named factor vector of sample annotations.