Skip to content

Commit

Permalink
Fix compute_partitions() in R/cluster_cells.R.
Browse files Browse the repository at this point in the history
  • Loading branch information
brgew committed Mar 22, 2024
1 parent 42fc8c4 commit 7ea740c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/cluster_cells.R
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,8 @@ compute_partitions <- function(g,

# Deal with zero total edges.
num_links[is.nan(num_links)] <- 0

cluster_mat[is.nan(cluster_mat)] <- 0
`
cluster_mat <- matrix(stats::p.adjust(cluster_mat),
nrow=length(louvain_modules),
ncol=length(louvain_modules))
Expand Down

0 comments on commit 7ea740c

Please sign in to comment.