Skip to content

Commit

Permalink
.MeanMSTEdge.dist
Browse files Browse the repository at this point in the history
  • Loading branch information
ms609 committed Jun 27, 2024
1 parent be46537 commit c5fa179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/cluster_stats.R
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ MeanMSTEdge.dist <- function(x, cluster = 1) {
d <- as.matrix(x)
diag(d) <- NA_real_
vapply(seq_along(unique(cluster)),
function(i) .MeanNN.dist(d[cluster == i, cluster == i, drop = FALSE]),
function(i) .MeanMSTEdge.dist(d[cluster == i, cluster == i, drop = FALSE]),
numeric(1))
}

Expand Down

0 comments on commit c5fa179

Please sign in to comment.