Skip to content

Commit

Permalink
Coerce x to matrix for BiocNeighbors::findKNN() to address issue #4
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-jackson committed Sep 8, 2024
1 parent 9473015 commit 6767954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/concordex.R
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ setMethod("calculateConcordex", "ANY",
labels <- labels_make_friendly(labels, nm=dimnames(x)[[1]])

req_args <- list(
x=x,
x=as.matrix(x),
labels=labels,
n_neighbors=n_neighbors,
compute_similarity=compute_similarity,
Expand Down

0 comments on commit 6767954

Please sign in to comment.