Commit a7875db2 authored by Maria Marin's avatar Maria Marin

Update functions_network_medicine_schizo.py

parent b7ba2422
......@@ -469,9 +469,8 @@ def rep_prox(df_combined, disease_name):
Input:
1. df_combined: DataFrame combined with drugs, their observed proximity, their average random proximity,
the standard deviation of random proximity, their z-score, a column indicating the disease
(dementia, epilepsy, bipolar disorder, or schizophrenia), and another column indicating if the drug
is used for the treatment of the disease in the same row.
the standard deviation of random proximity, their z-score, a column indicating the disease,
and another column indicating if the drug is used for the treatment of the disease in the same row.
2. disease_name: Name of the disease
"""
# Filter the data to generate two new dataframes, one with data for drugs used as treatment for the disease, and another with data for the rest of drugs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment