Skip to content

Commit db487d6

Browse files
committed
Overview Vignette make option to run chunks
1 parent 580e930 commit db487d6

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

vignettes/SCWorkflow-Overview.Rmd

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ knitr::opts_chunk$set(
1919
library(data.table)
2020
library(dplyr)
2121
library(ggplot2)
22+
23+
evalChunk=T
2224
```
2325

2426

@@ -63,7 +65,7 @@ Samples can also be excluded from the final Seurat object using a REGEX strategy
6365

6466
The final Seurat Object will contain an assay slot with log2 normalized counts. QC figures for individual samples will also be produced to help evaluate samples quality.
6567

66-
```{r,eval=F,echo=T,results='hide'}
68+
```{r,eval=evalChunk,echo=T,results='hide'}
6769
6870
SampleMetadataTable <- read.table(file = "./images/Sample_Metadata.txt", sep = '\t',header = T)
6971
files=list.files(path="../tests/testthat/fixtures/Chariou/h5files",full.names = T)
@@ -81,7 +83,7 @@ SOlist=processRawData(input=files,
8183
)
8284
```
8385

84-
```{r,echo=F,eval=F}
86+
```{r,echo=F,eval=evalChunk}
8587
ggsave(SOlist$plots[[1]], filename = "./images/ProcessInputData1.png", width = 10, height = 10)
8688
ggsave(SOlist$plots[[2]], filename = "./images/ProcessInputData2.png", width = 10, height = 10)
8789
@@ -109,7 +111,7 @@ The individual filtering criteria used in this tool are listed below.
109111
The function will return a filtered Seurat Object and various figures showing metrics before and after filtering. These figures can be used to help evaluate the effects of filtering criteria and whether filtering limits need to be adjusted.
110112

111113

112-
```{r,eval=F,echo=T,results='hide'}
114+
```{r,eval=evalChunk,echo=T,results='hide'}
113115
114116
SO_filtered=filterQC(object=SOlist$object,
115117
## Filter Genes
@@ -135,7 +137,7 @@ SO_filtered=filterQC(object=SOlist$object,
135137
136138
```
137139

138-
```{r,echo=F,eval=F}
140+
```{r,echo=F,eval=evalChunk}
139141
ggsave(SO_filtered$plots$PostFilterCombined, filename = "./images/QC1.png", width = 10, height = 10)
140142
ggsave(SO_filtered$plots$ViolinPlotCombine, filename = "./images/QC2.png", width = 10, height = 10)
141143
ggsave(SO_filtered$plots$ScatterPlotCombine, filename = "./images/QC3.png", width = 10, height = 10)
@@ -151,7 +153,7 @@ ggsave(SO_filtered$plots$ScatterPlotCombine, filename = "./images/QC3.png", widt
151153

152154
This functions combines multiple sample level Seurat Objects into a single Seurat Object and normalizes the combined dataset. The multi-dimensionality of the data will be summarized into a set of "principal components" and visualized in both UMAP and tSNE projections. A graph-based clustering approach will identify cell clusters with in the data.
153155

154-
```{r,eval=F,echo=T,results='hide'}
156+
```{r,eval=evalChunk,echo=T,results='hide'}
155157
156158
Comb_SO=combineNormalize(
157159
object=SO_filtered$object,
@@ -194,7 +196,7 @@ Comb_SO=combineNormalize(
194196
195197
```
196198

197-
```{r,echo=F,eval=F}
199+
```{r,echo=F,eval=evalChunk}
198200
saveRDS(Comb_SO$object, file="./images/CN_SO.rds")
199201
200202
ggsave(Comb_SO$plots$UMAP, filename = "./images/CN1.png", width = 10, height = 10)

0 commit comments

Comments
 (0)