CellChat icon indicating copy to clipboard operation
CellChat copied to clipboard

Starting from a Seurat object

Open zznx opened this issue 1 year ago • 1 comments

Hi, In tutorial

data.input <- seurat_object[["RNA"]]@data # normalized data matrix
# For Seurat version >= “5.0.0”, get the normalized data via `seurat_object[["RNA"]]$data`
labels <- Idents(seurat_object)
meta <- data.frame(labels = labels, row.names = names(labels)) # create a dataframe of the cell labels

I'm curious if the following result is better or worse?

data.input <- seurat_object[["SCT"]]@data # normalized data matrix
# For Seurat version >= “5.0.0”, get the normalized data via `seurat_object[["SCT"]]$data`
labels <- Idents(seurat_object)
meta <- data.frame(labels = labels, row.names = names(labels)) # create a dataframe of the cell labels

zznx avatar Jul 30 '24 08:07 zznx

Do you have an answer now? I have the same question.

lalalay818 avatar Mar 16 '25 15:03 lalalay818