Closed castaway1990 closed 2 years ago
Hi @castaway1990
You can find the assignment of cells to neighbourhoods in adata.obsm["nhoods"]
. This is a binary matrix where rows represent cells and columns represent neighbourhoods.
Right, thanks a lot.
or if you are referring to the index cell for each neighbourhood, these are marked in adata.obs['nhood_ixs_refined']
and the order of columns in adata.obsm['nhoods']
is the same as in obs
(i.e. the first cell where adata.obs['nhood_ixs_refined']==1
is index to the nhood in the first column in adata.obsm['nhoods']
)
Hi, is there a way to know which original cells are making each neighborhood?
Thanks!