Skip to content

Commit 7eb1190

Browse files
committed
Merge branch 'GalaxyCLI' of https://github.com/NIDAP-Community/SCWorkflow into GalaxyCLI
2 parents 634c397 + a616eb3 commit 7eb1190

4 files changed

Lines changed: 24 additions & 11 deletions

File tree

docs/pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ articles:
1010
SCWorkflow-SubsetReclust: SCWorkflow-SubsetReclust.html
1111
SCWorkflow-Usage: SCWorkflow-Usage.html
1212
SCWorkflow-Visualizations: SCWorkflow-Visualizations.html
13-
last_built: 2025-10-31T20:47Z
13+
last_built: 2025-11-20T16:30Z
1414
urls:
1515
reference: https://nidap-community.github.io/SCWorkflow/reference
1616
article: https://nidap-community.github.io/SCWorkflow/articles

vignettes/SCWorkflow-DEG.Rmd

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,18 @@ knitr::opts_chunk$set(
1919
library(data.table)
2020
library(dplyr)
2121
library(ggplot2)
22+
23+
run_Chunks=F
24+
```
25+
26+
```{r,include=F,echo=F,eval=run_Chunks}
27+
28+
Anno_SO=readRDS("./images/Anno_SO.rds")
29+
2230
```
2331

32+
33+
2434
## DE with Find Markers
2535

2636
This function performs a DE (differential expression) analysis on a merged Seurat object to identify expression markers between different groups of cells (contrasts). This analysis uses the FindMarkers() function of the Seurat Workflow.
@@ -30,15 +40,15 @@ Differential expression analysis (DEG) is a fundamental technique in single-cell
3040
This function takes a merged Seurat object [1] as input, expected to contain single-cell data from multiple samples, along with relevant metadata and SingleR annotations, which provide information about cell identity. To perform the DEG analysis, the user can choose from various statistical algorithms, such as MAST [2], wilcox [3], bimod [4], and more, which accommodate different types of experimental designs and assumptions about the data. The user can control the sensitivity of the analysis by setting the minimum fold-change in gene expression between the groups to be considered significant. Additionally, users can specify the assay to be used for the analysis, whether it is the scaled data (SCT) or raw RNA counts.
3141
For best results, it is recommended to use this function with well-curated and preprocessed single-cell data, ensuring that the Seurat object contains relevant metadata and SingleR annotations. Users should carefully select the samples and contrasts based on their experimental design and research questions. Additionally, exploring different statistical algorithms and adjusting the threshold can fine-tune the DEG analysis and reveal more accurate gene expression markers.
3242

33-
```{r,eval=F}
34-
degGeneExpressionMarkers(object = SO,
35-
samples = samples,
36-
contrasts = contrasts,
37-
parameter.to.test = parameter_to_test,
38-
test.to.use = test_to_use,
39-
log.fc.threshold = log_fc_threshold,
40-
use.spark = use_spark,
41-
assay.to.use = assay_to_use)
43+
```{r,eval=run_Chunks}
44+
DEG_SO=degGeneExpressionMarkers(object = Anno_SO$object,
45+
samples = c("PBS","ENT","NHSIL12","Combo","CD8dep" ),
46+
contrasts = c("0-1","0-all"),
47+
parameter.to.test = "SCT_snn_res_2_8",
48+
test.to.use = test_to_use,
49+
log.fc.threshold = log_fc_threshold,
50+
use.spark = use_spark,
51+
assay.to.use = assay_to_use)
4252
```
4353

4454
1. https://satijalab.org/seurat/

vignettes/SCWorkflow-Overview.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This tool supports standard scRNAseq, CITE-Seq, and TCR-Seq assays. Samples prep
3434

3535
A corresponding Metadata table can be used to add sample level information to the Seurat object. The table format should have Sample names in the first Column and any sample metadata in additional columns. The Metadata table can also be used to rename samples by including an alternative sample name Column in the metadata table.
3636

37-
```{r,echo=F,eval=run_Chunks}
37+
```{r,echo=F,eval=T}
3838
# data.table(My_Sample_Names=c('CID3586','CID3921',
3939
# 'CID4066','CID4290A',
4040
# 'CID4398','CID4471',

vignettes/SCWorkflow-Visualizations.Rmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ library(htmltools)
103103
# readRDS("./images/Vis_3D.rds")
104104
# htmltools::includeHTML('./images/Vis_3D.html')
105105
# shiny::includeHTML('./images/Vis_3D.html')
106+
107+
html_content <- read_html('./images/Vis_3D.html')
108+
print(html_content)
106109
```
107110

108111

0 commit comments

Comments
 (0)