Merge all cell-related data to a single DataFrame.
Usage
cell_data_fn(
col_data,
clusters_all,
cell_annotation_labels,
cell_groupings,
additional_cell_data,
pipeline_type = c("single_sample", "integration")
)
Arguments
- col_data
A dataframe.
- clusters_all
A named list.
- cell_annotation_labels
A named list.
- cell_groupings
A dataframe: see
make_cell_groupings()
.- additional_cell_data
A data.frame-like object with additional cell data to be joined.
- pipeline_type
A character scalar:
If
"single_sample"
, thenadditional_cell_data
must containBarcode
column.If
"integration"
, thenadditional_cell_data
must containBarcode
andbatch
columns.