Skip to content

Commit 7a1eacc

Browse files
committed
fix from bcbior #138
bcbio/bcbioR#138 cc @eberdan
1 parent 0353b11 commit 7a1eacc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

02_integration/norm_integration.rmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,9 @@ seurat_sctnorm <- SCTransform(seurat_lognorm,
336336
# vars.to.regress = c("mitoRatio")
337337
variable.features.n = 3000
338338
)
339+
seurat_sctnorm <- RunPCA(seurat_sctnorm)
340+
seurat_sctnorm <- RunUMAP(seurat_sctnorm, 1:40)
341+
339342
saveRDS(seurat_sctnorm, file = "seurat_sctnorm.rds")
340343
```
341344

@@ -347,7 +350,6 @@ We qualitatively reviewed the "structure" in our normalized data projection . We
347350

348351
```{r, fig.width=10}
349352
DefaultAssay(seurat_sctnorm) <- "SCT"
350-
seurat_sctnorm <- RunPCA(seurat_sctnorm)
351353
UMAPPlot(seurat_sctnorm, group.by = "orig.ident") + ggtitle("UMAP")
352354
```
353355

0 commit comments

Comments
 (0)