Skip to content
New issue

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

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

Already on GitHub? # to your account

Q for code #1

Open
xueleecs opened this issue Oct 19, 2022 · 0 comments
Open

Q for code #1

xueleecs opened this issue Oct 19, 2022 · 0 comments

Comments

@xueleecs
Copy link

# 2
# Keep the proteins involved
proteinID1 = [Po_pairs[i][0] for i in range(len(Po_pairs))]
proteinID2 = [Po_pairs[i][1] for i in range(len(Po_pairs))]
proteinID3 = [Ne_pairs[i][0] for i in range(len(Ne_pairs))]
proteinID4 = [Ne_pairs[i][1] for i in range(len(Ne_pairs))]
proteinID = list(set(proteinID1 + proteinID2 + proteinID3 + proteinID4))
add_nodes = list(set(proteinID3 + proteinID4) - set(proteinID1 + proteinID1))  ##

In SGAD.py,line 477 (the last line above), "proteinID1 + proteinID1", Why use "proteinID1" twice, and use "proteinID1" once is also the same result. Would you please take the time to answer my questions

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

No branches or pull requests

1 participant