Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sainirmayi committed Nov 15, 2024
1 parent 1697450 commit 7cee7a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/methods/seurat/script.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ seurat_sp <- SCTransform(

seurat_sp <- RunPCA(seurat_sp, assay = "SCT", verbose = FALSE, n_pcs = par$n_pcs)

options(future.globals.maxSize = 30 * 1024^3)

# Normalize and do dimred for single cell data
seurat_sc <- SCTransform(
seurat_sc,
Expand All @@ -50,7 +52,7 @@ seurat_sc <- SCTransform(
conserve.memory = TRUE
)

seurat_sc <- RunPCA(seurat_sc, verbose = FALSE, n_pcs = par$n_pcs)
seurat_sc <- RunPCA(seurat_sc, assay = "SCT", verbose = FALSE, n_pcs = par$n_pcs)

# find anchors (MNN's to compute adjustmen vectors)
anchors <- FindTransferAnchors(
Expand Down

0 comments on commit 7cee7a3

Please sign in to comment.