Skip to content

Commit

Permalink
Change plot color
Browse files Browse the repository at this point in the history
  • Loading branch information
gaow committed Jul 10, 2019
1 parent 3143ba4 commit 0a00661
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions manuscript_results/pedagogical_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {
"kernel": "R"
},
Expand Down Expand Up @@ -260,8 +260,8 @@
"susie_label = \"SuSiE fit from IBSS\"\n",
"pdf('susie_demo.pdf', width =10, height = 5, pointsize=16)\n",
"par(mfrow=c(1,2), cex.axis = 0.9)\n",
"susie_plot(fitted, y='z', b=b, max_cs=1, main = 'Marginal associations', xlab = 'variable (SNP)')\n",
"susie_plot(fitted, y='PIP', b=b, max_cs=0.4, main = susie_label, add_legend = F, ylim = c(0,1), xlab = 'variable (SNP)')\n",
"susie_plot(fitted, y='z', b=b, max_cs=1, main = 'Marginal associations', xlab = 'variable (SNP)', col = '#767676')\n",
"susie_plot(fitted, y='PIP', b=b, max_cs=0.4, main = susie_label, add_legend = F, ylim = c(0,1), xlab = 'variable (SNP)', col = '#767676')\n",
"dev.off()"
]
},
Expand Down Expand Up @@ -1894,24 +1894,31 @@
"Bash",
"bash",
"Bash",
"#E6EEFF"
"#E6EEFF",
""
],
[
"R",
"ir",
"R",
"#DCDCDA"
"#DCDCDA",
""
],
[
"SoS",
"sos",
"",
""
"",
"sos"
]
],
"version": "0.17.1"
"panel": {
"displayed": true,
"height": 0
},
"version": "0.19.12"
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}

0 comments on commit 0a00661

Please sign in to comment.