addCellIntMetadata
¶
addCellIntMetadata
Description¶
- Creates an additional metadata column with information about interacting and non-interacting cell types of the
selected cell-cell interaction.
Usage¶
addCellIntMetadata(
gobject,
feat_type = NULL,
spat_unit = NULL,
spatial_network = "spatial_network",
cluster_column,
cell_interaction,
name = "select_int",
return_gobject = TRUE
)
Arguments¶
Argument |
Description |
---|---|
|
giotto object |
|
feature type |
|
spatial unit |
|
name of spatial network to use |
|
column of cell types |
|
cell-cell interaction to use |
|
name for the new metadata column |
|
return an updated giotto object |
Details¶
- This function will create an additional metadata column which selects interacting cell types for a specific cell-cell
interaction. For example, if you want to color interacting astrocytes and oligodendrocytes it will create a new metadata column with the values “select_astrocytes”, “select_oligodendrocytes”, “other_astrocytes”, “other_oligodendroyctes” and “other”. Where “other” is all other cell types found within the selected cell type column.
Value¶
Giotto object