From f92af2b7958ef89be74ff12940e7289d5ea99426 Mon Sep 17 00:00:00 2001 From: wbaopaul Date: Tue, 25 May 2021 16:31:24 -0400 Subject: [PATCH] missed umap for rmDoublets --- scripts/src/rmDoublets.R | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/src/rmDoublets.R b/scripts/src/rmDoublets.R index 818bc32..be77552 100644 --- a/scripts/src/rmDoublets.R +++ b/scripts/src/rmDoublets.R @@ -20,6 +20,9 @@ if(any(class(input.obj) == 'Seurat')) { reg.var = 'nCount_ATAC') seurat.obj = FindNeighbors(seurat.obj, reduction = 'pca', dims = 1:30, k.param = 20) seurat.obj = FindClusters(seurat.obj, resolusion = 0.6) + seurat.obj = RunTSNE(seurat.obj, dims = 1:30, reduction = 'pca', check_duplicates = FALSE) + seurat.obj = RunUMAP(seurat.obj, dims = 1:30, reduction = 'pca', verbose = F) + } seurat.obj = FindDoublets_Atac(seurat.obj, PCs = 1:10, exp_rate = drate,