Skip to content

Commit

Permalink
Add column names to CS correlation summary
Browse files Browse the repository at this point in the history
  • Loading branch information
gaow committed Jul 30, 2022
1 parent f9a0033 commit c39ab77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/susie_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ get_cs_correlation = function (model, X = NULL, Xcorr = NULL, max = FALSE) {
if (max) {
cs_corr = max(abs(cs_corr[upper.tri(cs_corr)]))
}
rownames(cs_corr) = colnames(cs_corr) = names(model$sets$cs)
return(cs_corr)
}

Expand Down

0 comments on commit c39ab77

Please sign in to comment.