Skip to content

Commit

Permalink
Update module_trait_relationships_heatmap.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
nargesr committed Feb 8, 2024
1 parent 4274533 commit d18c7b3
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions tutorials/module_trait_relationships_heatmap.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@
}
],
"source": [
"import sys\n",
"sys.path.insert(0, '/Users/nargesrezaie/Documents/MortazaviLab/PyWGCNA')\n",
"#import sys\n",
"#sys.path.insert(0, '/Users/nargesrezaie/Documents/MortazaviLab/PyWGCNA')\n",
"import PyWGCNA\n",
"pyWGCNA_5xFAD = PyWGCNA.readWGCNA(\"5xFAD.p\")\n",
"pyWGCNA_5xFAD.save = False"
]
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 7,
"id": "3fe400c3",
"metadata": {},
"outputs": [
Expand All @@ -60,7 +60,6 @@
],
"source": [
"pyWGCNA_5xFAD.module_trait_relationships_heatmap(metaData=['Age', 'Tissue', 'Sex', 'Genotype'],\n",
" show=True, \n",
" alternative='two-sided')"
]
},
Expand All @@ -69,12 +68,14 @@
"id": "3ae0e354",
"metadata": {},
"source": [
"if we want to look at the age as on row in our module trait relationships heatmap, we should change the dtype of age."
"if we want to look at the age as on row in our module trait relationships heatmap, we should change the dtype of age.\n",
"\n",
"Here you can see the modules with higher correlation with later time points have positive correlation while those correlated with earlier time points has negative correlation."
]
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 3,
"id": "3384fa7c",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -112,7 +113,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 6,
"id": "23a98ccc",
"metadata": {},
"outputs": [
Expand Down

0 comments on commit d18c7b3

Please sign in to comment.