Skip to content

Fixed PC explained vars in joint-RPCA#826

Merged
TuomasBorman merged 8 commits into
develfrom
joint_rpca_fix
May 15, 2026
Merged

Fixed PC explained vars in joint-RPCA#826
TuomasBorman merged 8 commits into
develfrom
joint_rpca_fix

Conversation

@antagomir
Copy link
Copy Markdown
Member

This fixes the discrepancy in expained variance w.r.t. Gemelli.

The reason was the sorting of svd values (descending vs. ascending); this had been noted elsewhere in the code but was left undone on line 728 of R/getRPCA.R

Now the explained variances match between mia ("percentVar") and Gemelli.

@antagomir
Copy link
Copy Markdown
Member Author

Checks fail on Win & Mac but afaik this is not related to this PR but to Bioc updates with the new release. Could we merge this @TuomasBorman

Copy link
Copy Markdown
Contributor

@TuomasBorman TuomasBorman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Comment thread R/getRPCA.R Outdated
Comment thread R/getRPCA.R
Comment thread R/getRPCA.R Outdated
@TuomasBorman TuomasBorman merged commit fafaeb5 into devel May 15, 2026
1 of 3 checks passed
@TuomasBorman TuomasBorman deleted the joint_rpca_fix branch May 15, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants