Skip to content

Commit a487fd8

Browse files
authored
Merge pull request #106 from bcbio/eberdan-patch-5
Update norm_integration.rmd
2 parents b01c509 + 3f539bd commit a487fd8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

inst/templates/singlecell/02_integration/norm_integration.rmd

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,15 @@ For single-modality scRNA-seq analysis, `Seurat` clusters the cells using a Louv
548548

549549
A limitation of this approach is that the number of identified clusters depends on the chosen resolution, a parameter that must be set by the user and does not necessarily reflect the underlying biology of the dataset. For most single-cell datasets, a resolution of 0.1 to 1 will provide a reasonable number of clusters. Complex datasets with multiple cell types may require a larger resolution, and vice versa.
550550

551-
The code below will generate clusters for resolutions 0.1, 0.2, 0.4, 0.6, 0.8, and 1.0. After generating these clusters we will examine them below using a tree based approach and simply overlaying cluster ids onto the umap. We recommend keeping all of the clusters in the metadata as you move forward in case you want to go back and try a different one. To switch between different resolutions you simply need to reset your cell identities to the correct column in the metadata `Idents(object = pbmc) <- "resolution_0.2"`
551+
The code below will generate clusters for resolutions 0.1, 0.2, 0.4, 0.6, 0.8, and 1.0. Note that the names of the cluster will include important information about which slot in seurat was used for clustering.
552+
553+
- Harmony with log normalized data : SNN_res.
554+
555+
- Harmony with SCT normalized data : SCT_res.
556+
557+
- CCA : integrated_snn_res.
558+
559+
After generating these clusters we will examine them below using a tree based approach and simply overlaying cluster ids onto the umap. We recommend keeping all of the clusters in the metadata as you move forward in case you want to go back and try a different one. To switch between different resolutions you simply need to reset your cell identities to the correct column in the metadata. For example: `Idents(object = seurat_clust) <- "SCT_res.0.2"`
552560

553561
```{r find_neighbors all, echo=TRUE}
554562
# NOTE use seurat_harmony or seurat_cca

0 commit comments

Comments
 (0)