Skip to content

Commit

Permalink
Update cor_sort.R
Browse files Browse the repository at this point in the history
  • Loading branch information
DominiqueMakowski committed Dec 1, 2024
1 parent 4f13dd5 commit 0f29129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/cor_sort.R
Original file line number Diff line number Diff line change
Expand Up @@ -155,5 +155,5 @@ cor_sort.matrix <- function(x, distance = "correlation", hclust_method = "comple
# Append any unused rows at the end
refined_row_order <- c(refined_row_order, which(!used_rows))

list(row_order = refined_row_order, col_order = row_order)
list(row_order = rownames(m)[refined_row_order], col_order = colnames(m)[col_order])
}

0 comments on commit 0f29129

Please sign in to comment.