Skip to content

Commit 1d015eb

Browse files
committed
Start CompareCelPop Vignette
1 parent d5579ff commit 1d015eb

1 file changed

Lines changed: 30 additions & 1 deletion

File tree

vignettes/SCWorkflow-Visualizations.Rmd

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ This function can be useful for exploratory data analysis and visualizing the di
281281
1. Seurat package Dotplot Documentation https://satijalab.org/seurat/reference/dotplot
282282

283283

284-
```{r,eval=F}
284+
```{r,eval=run_Chunks}
285285
286286
FigOut=dotPlotMet(
287287
object=Anno_SO$object,
@@ -306,6 +306,35 @@ ggsave(FigOut$plots, filename = "./images/Vis_DPM.png", width = 9, height = 5)
306306

307307
![](./images/Vis_DPM.png){width=500}
308308

309+
310+
## Compare Cell Populations
311+
312+
```{r,eval=run_Chunks}
313+
314+
FigOut=compareCellPopulations(
315+
object=Anno_SO$object,
316+
metadata.table=Anno_SO$metadata,
317+
annotation.column='SCT_snn_res.0.4',
318+
group.column='SCT_snn_res.0.4',
319+
sample.column = "orig.ident",
320+
counts.type = "Frequency",
321+
group.order = NULL,
322+
cell.reverse.sort = FALSE,
323+
wrap.ncols = 5
324+
)
325+
326+
```
327+
328+
```{r,eval=run_Chunks,echo=F,results='hide'}
329+
330+
ggsave(FigOut$plots, filename = "./images/Vis_DPM.png", width = 9, height = 5)
331+
332+
# png(filename="./images/Vis_HM.png",width = 700,height = 300,pointsize = 10)
333+
# (FigOut$plot)
334+
# dev.off()
335+
336+
```
337+
309338
<!-- ## Trajectory Analysis with TSCAN -->
310339

311340
<!-- Application of TSCAN Trajectory Analysis method to preClustered Seurat Object. -->

0 commit comments

Comments
 (0)