Skip to contents

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", then additional_cell_data must contain Barcode column.

  • If "integration", then additional_cell_data must contain Barcode and batch columns.

Value

A DataFrame object.