Add a cell grouping to a dataset

Add a cell grouping to a dataset

add_grouping(dataset, grouping, group_ids = NULL, ...)

is_wrapper_with_grouping(dataset)

get_grouping(dataset, grouping = NULL)

Arguments

dataset

A dataset created by wrap_data() or wrap_expression()

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