Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identify TF cliques & output them. #9

Closed
j-andrews7 opened this issue May 2, 2023 · 0 comments
Closed

Identify TF cliques & output them. #9

j-andrews7 opened this issue May 2, 2023 · 0 comments
Assignees
Labels

Comments

@j-andrews7
Copy link
Contributor

This is actually probably the part I am least sure about.

Probably worth reading the networkx docs on cliques.

Input will be a networkx network object (probably?, depends on Stage 3 choice) composed solely of SE-associated TF genes. No downstream targets.

Output in format like (A549_CRCs_CLIQUE_SCORES_DEGREE.txt from CRC):

['SMAD3', 'JUNB', 'STAT3', 'FOSL2', 'ETS1', 'STAT1']	42.833333333333336
['SMAD3', 'JUNB', 'STAT3', 'EHF', 'PBX1', 'STAT1', 'TEAD1', 'ETS1']	41.75
['SMAD3', 'SOX12', 'STAT3', 'RXRA', 'DBP', 'FOSL2', 'ETS1', 'STAT4', 'ZNF143', 'STAT1']	41.7
['SMAD3', 'JUNB', 'STAT3', 'FOSL2', 'ETS1', 'GLI2']	41.666666666666664
['SMAD3', 'SOX12', 'STAT3', 'TCF7L2', 'DBP', 'FOSL2', 'ETS1', 'STAT4', 'STAT1', 'ZNF143']	41.4
['SMAD3', 'SOX12', 'STAT3', 'RXRA', 'DBP', 'FOSL2', 'ETS1', 'GLI2']	41.375
['SMAD3', 'SOX12', 'STAT3', 'RXRA', 'DBP', 'EHF', 'PBX1', 'ETS1', 'ZNF143', 'STAT4', 'STAT1']	41.36363636363637

Last column is out-degree score.

This actually brings up a decision point - in CRC, they use only the top 100 cliques by out-degree score to calculate the clique proportions. The cliques seem largely redundant, but I don't know how likely this is to miss variable CRC members between samples or groups. May be worth providing a parameter to allow tweaking of this threshold.

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

No branches or pull requests

2 participants