Adds new columns to the cell data in MultiSampNiche objects.
Usage
AddMSNicheCells(STID_obj, loop_id, meta_key, select_colnm, niche_key, ...)
# S3 method for class 'STID'
AddMSNicheCells(
STID_obj = NULL,
loop_id = "LoopAllMulti",
meta_key = NULL,
select_colnm = NULL,
niche_key = NULL,
...
)Examples
if (FALSE) { # \dontrun{
# Add new annotations to multi-sample niche cells
STID_obj <- AddMSNicheCells(ist_obj,
loop_id = "LoopAllMulti",
meta_key = "custom_annotation",
select_colnm = c("cell_type", "confidence"),
niche_key = "niche_virulence")
} # }