Skip to content

Commit 29fdc9e

Browse files
committed
Adapt FindOptimalClusters to Seurat update
Seurat v5.1.0.9013 (satijalab/seurat@a08b238) updated doc of `FindClusters` (argument deprecated) - deprecated argument (`method`) removed from `FindOptimalClusters` interface - doc of `FindOptimalClusters` updated accordingly
1 parent 44b440b commit 29fdc9e

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

R/clustering.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ FindOptimalClusters <- function(object, graph.name = NULL,
5353
node.sizes = NULL,
5454
resolutions = seq(from = .1, to = 2, by = .1),
5555
optimisation.metric = c("nmi", "ari"),
56-
method = "matrix",
5756
algorithm = 1,
5857
n.start = 10,
5958
n.iter = 10,
@@ -93,7 +92,7 @@ FindOptimalClusters <- function(object, graph.name = NULL,
9392
modularity.fxn = modularity.fxn,
9493
initial.membership = initial.membership,
9594
node.sizes = node.sizes,
96-
resolution = resolutions, method = method,
95+
resolution = resolutions,
9796
algorithm = algorithm, n.start = n.start,
9897
n.iter = n.iter, random.seed = random.seed,
9998
group.singletons = group.singletons,

man/FindOptimalClusters.Rd

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)