R/wrap_add_grouping.R
add_grouping.RdAdd a cell grouping to a dataset
add_grouping(dataset, grouping, group_ids = NULL, ...) is_wrapper_with_grouping(dataset) get_grouping(dataset, grouping = NULL)
| dataset | A dataset created by |
|---|---|
| grouping | A grouping of the cells, can be a named vector or a dataframe with group_id (character) and cell_id (character) |
| group_ids | All group_ids, optional |
| ... | Extra information to be stored in the dataset |