Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Drawing a correlation based network from fitness scores to interaction maps #23

Open
leilaicruz opened this issue Sep 22, 2020 · 1 comment

Comments

@leilaicruz
Copy link
Member

leilaicruz commented Sep 22, 2020

This issue is to provide a first prototype of the generation of a interaction network based on highly correlated genes with respect the fitness scores they have . This data is from Benoit , on Dpl1 and the WT. The definition of the score is the same as Constanzo uses: e=f(ab)- f(a)f(b)

So far I can reproduce some of the existing interactions with this code , so that is encouraging! The figure below shows whether the existing interactors of dpl1 are reproduced or not with this code. If the gene has a '-new' label it means I give it this category but it is annotated as such.

The code can be found here: https://github.com/Gregory94/LaanLab-SATAY-DataAnalysis/blob/dev_Leila/Python_scripts/corrrelation-based-networks/fitness-WT-mutant-from-reads.py

The goal is to test all the steps from reads normalization-fitness-maps to see if the output has a subset most of the existing data.

Feel free to pull it and play with it!

corr-based-net-dpl1-test

@leilaicruz
Copy link
Member Author

This network configuration is heavily dependant on the choice of the gene from which we build our correlation from.
In general the workflow is :

  • compute fitness scores
  • group those scores based on the correlations between each other , to search for group of genes highly correlated.
  • make the network based on those highly correlated genes.
    This is basically the line where I compute all correlations:
    corr_with_a_row=values2corr.corrwith(values2corr.iloc[X,:],axis=1,method='pearson') # random row

My idea to face this is to compute many correlations using a random sampling of 20% of the genes in the population and explore how big are the error bars between all those datasets , that will indicate my uncertainty when I am doing certain network configuration.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant