From fdbca5dac25c7ad00f7cc722df3c1cd3e0e0e549 Mon Sep 17 00:00:00 2001 From: Tu Hu Date: Mon, 24 Jun 2024 14:18:21 +0200 Subject: [PATCH] Update CellChat-vignette.Rmd revise typo "mata". --- tutorial/CellChat-vignette.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorial/CellChat-vignette.Rmd b/tutorial/CellChat-vignette.Rmd index 4270a17..38b9a37 100644 --- a/tutorial/CellChat-vignette.Rmd +++ b/tutorial/CellChat-vignette.Rmd @@ -57,7 +57,7 @@ ptm = Sys.time() # This is a combined data from two biological conditions: normal and diseases load("/Users/suoqinjin/Library/CloudStorage/OneDrive-Personal/works/CellChat/tutorial/data_humanSkin_CellChat.rda") data.input = data_humanSkin$data # normalized data matrix -meta = data_humanSkin$meta # a dataframe with rownames containing cell mata data +meta = data_humanSkin$meta # a dataframe with rownames containing cell meta data cell.use = rownames(meta)[meta$condition == "LS"] # extract the cell names from disease data # Subset the input data for CelChat analysis @@ -131,7 +131,7 @@ meta <- as.data.frame(SingleCellExperiment::colData(sce)) # cellChat <- createCellChat(object = sce, group.by = "sce.clusters") ``` -If cell mata information is not added when creating CellChat object, USERS can also add it later using `addMeta`, and set the default cell identities using `setIdent`. +If cell meta information is not added when creating CellChat object, USERS can also add it later using `addMeta`, and set the default cell identities using `setIdent`. ```{r eval = FALSE} cellchat <- addMeta(cellchat, meta = meta) cellchat <- setIdent(cellchat, ident.use = "labels") # set "labels" as default cell identity