Skip to content

Coexpression function #1

Merged
kumarsaurabh20 merged 11 commits intoIntegrativeBioinformaticsLab:mainfrom
elenadelpup:edp_branch
May 14, 2025
Merged

Coexpression function #1
kumarsaurabh20 merged 11 commits intoIntegrativeBioinformaticsLab:mainfrom
elenadelpup:edp_branch

Conversation

@elenadelpup
Copy link
Contributor

Add a coexpression function that uses coexpression edges to merge functional clusters.

@kumarsaurabh20
Copy link
Collaborator

Hi @elenadelpup,

There are two conflicts as mentioned above. Please make sure you structure the arguments section as present in the current version and also make changes in the table_name as it is present in the current version. I can't see how I could resolve this conflict, but maybe you could do it from your side and then commit your changes.

@elenadelpup
Copy link
Contributor Author

elenadelpup commented Jan 20, 2025 via email

@kumarsaurabh20
Copy link
Collaborator

The current structure is on the main branch.
https://github.com/kumarsaurabh20/meantools/blob/main/merge_clusters.py

Once there are no conflicts I merge the branches?

@kumarsaurabh20
Copy link
Collaborator

kumarsaurabh20 commented Jan 20, 2025

@elenadelpup For the table name use the following:

tablename = "Combine_MC"

if Options.decay_rate:
table_name = tablename + "DR" + str(Options.decay_rate)
gizmos.export_to_sql(Options.sqlite_db_name, merged_df, table_name, index=False)

@kumarsaurabh20
Copy link
Collaborator

@elenadelpup Also with the test data, I expected to get multiple rows based on the coexpression data. But What I see is just one row with all the metabolites and genes combined. It is a bit weird. I am not sure why we are getting this kind of results. I will test it at my end once again and let you know. At this moment, in the coexpression table, there are weak links and very strong links. The script considers one coexpression network at a time. So perhaps the script considers everything (all weak and strong links combined) and merges everything in one merge table.

@kumarsaurabh20 kumarsaurabh20 merged commit 4b0dcbb into IntegrativeBioinformaticsLab:main May 14, 2025
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