View source: R/core_functions.R
tidy_metadata | 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.
tidy_metadata(
category_subset = NULL,
metadata,
category_variable = NULL,
verbose = FALSE
)
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. |
a tidy named factor vector of sample annotations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.