<commit_before># Sample (PubMed) Comorbidity Studies

This repository contains Jupyter notebooks that uses tools and pipelines developed in Julia at Brown's Center for BioMedical Informatics to explore comorbidities in PubMed Articles


## Brown Databases

If you are a Brown reaseracher, teh studies can be run faster by accessing Brown's databases. You will need to have select access to the following schemas on BCBI's database server. (For more information or help setting up your user, contact us)

In this case there are three available examples comorbitidy studies presented via Jupyter notebooks:

| Epilepsy   |      Suicide      |  Colonic Neoplasmas |
|:----------:|:-------------:|:------:|
| <img src="./figures/cocurrence_graph_epilepsy.png" alt="Drawing" style="width: 200px;"/>|  <img src="./figures/cocurrence_graph_suicide.png" alt="Drawing" style="width: 200px;"/> | <img src="./figures/cocurrence_graph_colonic_neoplasmas.png" alt="Drawing" style="width: 200px;"/> |


| Epilepsy   |
|:----------:|
| <img src="./figures/cocurrence_graph_epilepsy.png" alt="Drawing" style="width: 400px;"/>| 

|      Suicide  | 
|:-------------:|
|  <img src="./figures/cocurrence_graph_suicide.png" alt="Drawing" style="width: 400px;"/> | 


|  Colonic Neoplasmas |
|:----------:|
| <img src="./figures/cocurrence_graph_colonic_neoplasmas.png" alt="Drawing" style="width: 400px;"/> |
    

## Local Resources

The studies can also be run on your local workstationg by querying the ENTERZ and UMLS APIs and using related Julia packages such us BioMedQuery. Basic Julia scripts are provided under local_databases directory. Related Jupyter Notebooks are coming soon
<commit_msg>relayout<commit_after># Sample (PubMed) Comorbidity Studies

This repository contains Jupyter notebooks that uses tools and pipelines developed in Julia at Brown's Center for BioMedical Informatics to explore comorbidities in PubMed Articles


## Brown Databases

If you are a Brown reaseracher, teh studies can be run faster by accessing Brown's databases. You will need to have select access to the following schemas on BCBI's database server. (For more information or help setting up your user, contact us)

In this case there are three available examples comorbitidy studies presented via Jupyter notebooks:

| Epilepsy   |      Suicide      |  Colonic Neoplasmas |
|:----------:|:-------------:|:------:|
| <img src="./figures/cocurrence_graph_epilepsy.png" alt="Drawing" style="width: 200px;"/>|  <img src="./figures/cocurrence_graph_suicide.png" alt="Drawing" style="width: 200px;"/> | <img src="./figures/cocurrence_graph_colonic_neoplasmas.png" alt="Drawing" style="width: 200px;"/> |


| Epilepsy   |
|:----------:|
| <img src="./figures/cocurrence_graph_epilepsy.png" alt="Drawing" style="width: 200px;"/>| 

|      Suicide  | 
|:-------------:|
|  <img src="./figures/cocurrence_graph_suicide.png" alt="Drawing" style="width: 200px;"/> | 


|  Colonic Neoplasmas |
|:----------:|
| <img src="./figures/cocurrence_graph_colonic_neoplasmas.png" alt="Drawing" style="width: 200px;"/> |
    

## Local Resources

The studies can also be run on your local workstationg by querying the ENTERZ and UMLS APIs and using related Julia packages such us BioMedQuery. Basic Julia scripts are provided under local_databases directory. Related Jupyter Notebooks are coming soon

{'fraction_non_alphanumeric': 0.13949329359165424, 'fraction_numerical': 0.010730253353204173, 'mean_word_length': 4.046616541353384, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2108344', 'n_tokens_mistral': 1072, 'n_tokens_neox': 971, 'n_words': 334}