Skip to content

Commit 91f6111

Browse files
committed
styler scRNAqc
1 parent a7ff6da commit 91f6111

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

01_quality_assessment/scRNA_QC.qmd

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ if (isUrl(params_file)) {
9898
}
9999
```
100100

101-
102-
103101
```{r load}
104102
if (isUrl(seurat_obj)) {
105103
seurat_raw <- readRDS(url(seurat_obj))
@@ -108,7 +106,6 @@ if (isUrl(seurat_obj)) {
108106
}
109107
```
110108

111-
112109
```{r find doublets}
113110
#| eval: false
114111
# if you suspect that your dataset contains doublets, you can use this code to
@@ -148,7 +145,6 @@ seurat_qc <- subset(
148145
)
149146
```
150147

151-
152148
```{r filter ribo}
153149
#| eval: !expr ribosomal
154150
#| warning: false
@@ -164,13 +160,11 @@ seurat_qc <- subset(
164160
)
165161
```
166162

167-
168163
```{r}
169164
## Save QC object
170165
saveRDS(seurat_qc, file = params$seurat_obj_filt_fn)
171166
```
172167

173-
174168
```{r prep-info}
175169
metadata0 <- [email protected]
176170
metadata0 <- metadata0 %>% dplyr::rename(
@@ -184,12 +178,10 @@ metadata1 <- metadata1 %>% dplyr::rename(
184178
)
185179
```
186180

187-
188181
# QC metrics: raw data {.tabset}
189182

190183
In this section, we review quality control (QC) metrics for the **raw feature matrices** generated by `Cellranger`. Only a low level filter excluding cells with <100 nUMIs (= number of unique molecular identifiers, or sequenced reads per cell) was applied when uploading the data into `R`.
191184

192-
193185
## Cells per sample
194186

195187
```{r cells raw}

0 commit comments

Comments
 (0)