powered by
Get a character vector of samples' groups from the input metadata file
group_from_metadata(.by, .metadata, .sep = "; ")
Character vector with group names.
Character vector. Specify a column or columns in the input metadata to group by.
Metadata object.
Character vector. Defines a separator between groups if more than one group passed in .by.
.by
immunarch:::group_from_metadata("Status", data.frame(Status = c("A", "A", "B", "B", "C")))