BIMSBbioinfo / maui

Multi-omics Autoencoder Integration: Deep learning-based heterogenous data analysis toolkit
GNU General Public License v3.0
48 stars 20 forks source link

return factor importance value rather than filtering them #9

Closed borauyar closed 3 years ago

borauyar commented 3 years ago

Hey Jona.

Could you maybe provide an option to return the actual R^2 values of each LF from the function maui.utils.filter_factors_by_r2 rather than returning a filtered matrix. Or, could it be made an option? The user could sort LFs by this value for downstream applications. When filtered, importance scores/rankings are lost.

jonathanronen commented 3 years ago

Now available via maui.utils.r2_score_factors(z, x). Will gladly take suggestions for a better API? :)