From 02c6b7306fdb08c08535cfed6a6c2b8b4d5531a2 Mon Sep 17 00:00:00 2001 From: Kartik Singhal <36466671+ksinghal28@users.noreply.github.com> Date: Tue, 30 Apr 2024 09:16:28 -0400 Subject: [PATCH] Update 0008-04-01-DE_analysis.md --- _posts/0008-04-01-DE_analysis.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/0008-04-01-DE_analysis.md b/_posts/0008-04-01-DE_analysis.md index b62151e..caf0255 100644 --- a/_posts/0008-04-01-DE_analysis.md +++ b/_posts/0008-04-01-DE_analysis.md @@ -45,7 +45,7 @@ FeaturePlot(merged, features = 'Epcam') + DimPlot(merged, group.by = 'immgen_singler_main', label = TRUE) ``` -While the plots generated by the above commands make it pretty clear that the clusters of interest are clusters 8 and 12, sometimes it is trickier to determine which cluster we are interested in solely from the UMAP as the clusters may be overlapping. In this case, a violin plot `VlnPlot` may be more helpful. Similar to `FeaturePlot`, `VlnPlot` also takes the Seurat object and `features` as input. It also requires a `group.by` argument that determines the x-axis groupings of the cells. +While the plots generated by the above commands make it pretty clear that the clusters of interest are clusters 9 and 12, sometimes it is trickier to determine which cluster we are interested in solely from the UMAP as the clusters may be overlapping. In this case, a violin plot `VlnPlot` may be more helpful. Similar to `FeaturePlot`, `VlnPlot` also takes the Seurat object and `features` as input. It also requires a `group.by` argument that determines the x-axis groupings of the cells. To learn more about customizing a Violin plot, please refer to the [Seurat documentation](https://satijalab.org/seurat/reference/vlnplot) ```R