Skip to contents

Amend CCC table with annotations for source and destination cells

Usage

amend_ccc_tbl_with_cell_annots(ccc_tbl, spe, annot_cols, overwrite = TRUE)

Arguments

ccc_tbl

CCC table, an output of compute_spatial_ccc_tbl()

spe

SpatialExperiment object

annot_cols

column names in colData(spe), which will be matched against source and destination cells and added separately: as in annot_cols.src, .dst

overwrite

If TRUE, the previous columns colliding with the new columns (annot_cols.src, dst) will be reset.