rgcca-factory / RGCCA

https://rgcca-factory.github.io/RGCCA/
10 stars 11 forks source link

Refactor/use classes for blocks #77

Closed GFabien closed 6 months ago

GFabien commented 7 months ago

Use S3 classes to handle the different types of blocks. We refer to primal blocks for blocks having more rows than columns and dual blocks in the opposite case. So far, the following types of blocks are handled:

In addition, it is now possible to specify a custom connection matrix when there is a response block.

codecov-commenter commented 7 months ago

Codecov Report

Attention: 39 lines in your changes are missing coverage. Please review.

Comparison is base (17347b7) 94.39% compared to head (55c51f1) 95.02%.

:exclamation: Current head 55c51f1 differs from pull request most recent head b0cb631. Consider uploading reports for the commit b0cb631 to get more accurate results

Files Patch % Lines
R/rgcca_inner_loop.R 72.54% 14 Missing :warning:
R/rgcca_outer_loop.R 81.57% 14 Missing :warning:
R/block_postprocess.R 47.05% 9 Missing :warning:
R/block_init.R 85.71% 2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #77 +/- ## ========================================== + Coverage 94.39% 95.02% +0.63% ========================================== Files 83 80 -3 Lines 3320 3138 -182 ========================================== - Hits 3134 2982 -152 + Misses 186 156 -30 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.