Closed LucaZanella15 closed 7 months ago
This is a good concept, but should be a feature of another project. This is too complicated for us to put into this particular project as it would take a great deal of work to build this feature and then test it to ensure this feature actually works as we want it to.
We need two features before submitting the paper: 1) a parameter that says which adata.obs column to look for (which should be categorical) in order to perform a manual assignment between cell/sample and network. It basically runs VIPER with a list of networks (and not metaVIPER) by associating each network to each cell/sample based on a label configured in adata.obs and passed as parameter of viper 2) a parameter that says to use enrichment analysis to perform network association. This is more metaVIPER-like, but only the VIPER run per sample that has the highest enrichment across all the network will be retained after the viper run.
Solved by commit 23c56f5
Provide a list of networks to viper as input parameter as an option to run a sort of "network_match_viper". Alternatively, the function can also take the network with the highest enrichment for each cell.