Skip to content

Commit 68425da

Browse files
Set umap nthreads to nthreads of BPPARAM
1 parent b54b746 commit 68425da

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Authors@R: c(
1212
person("Leo", "Lahti", role=c("ctb"), email="leo.lahti@utu.fi", comment = c(ORCID = "0000-0001-5537-637X")),
1313
person("Tuomas", "Borman", role = c("ctb"), comment = c(ORCID = "0000-0002-8563-8884"))
1414
)
15-
Version: 1.35.3
16-
Date: 2025-03-03
15+
Version: 1.35.4
16+
Date: 2025-03-07
1717
License: GPL-3
1818
Title: Single-Cell Analysis Toolkit for Gene Expression Data in R
1919
Description: A collection of tools for doing various analyses of

R/runUMAP.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@
6464
NULL
6565

6666
#' @importFrom BiocNeighbors findKNN KmknnParam
67-
#' @importFrom BiocParallel SerialParam
67+
#' @importFrom BiocParallel SerialParam bpnworkers
6868
.calculate_umap <- function(x, ncomponents = 2, ntop = 500,
6969
subset_row = NULL, scale=FALSE, transposed=FALSE, pca=if (transposed) NULL else 50,
70-
n_neighbors=15, n_threads=NULL, ...,
70+
n_neighbors=15, n_threads=bpnworkers(BPPARAM), ...,
7171
external_neighbors=FALSE, BNPARAM = KmknnParam(), BPPARAM = SerialParam(),
7272
use_densvis=FALSE, dens_frac = 0.3, dens_lambda = 0.1)
7373
{

man/runUMAP.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)