Skip to content

Commit

Permalink
tweak examples in notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
alimanfoo committed Jun 22, 2023
1 parent afad321 commit 3cf92c1
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions notebooks/plot_xpehh_gwss.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"metadata": {},
"outputs": [],
"source": [
"ag3.plot_xpehh_gwss_track(\n",
"ag3.plot_xpehh_gwss(\n",
" contig=\"X\",\n",
" window_size=1_000,\n",
" analysis=\"gamb_colu\",\n",
Expand Down Expand Up @@ -75,7 +75,7 @@
"metadata": {},
"outputs": [],
"source": [
"ag3.plot_xpehh_gwss_track(\n",
"ag3.plot_xpehh_gwss(\n",
" contig=\"X\",\n",
" window_size=100,\n",
" analysis=\"gamb_colu\",\n",
Expand All @@ -85,14 +85,31 @@
")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "181227f6",
"metadata": {},
"outputs": [],
"source": [
"ag3.plot_xpehh_gwss(\n",
" contig=\"2RL\",\n",
" window_size=100,\n",
" analysis=\"gamb_colu\",\n",
" cohort1_query=\"cohort_admin2_year == 'ML-2_Kati_colu_2014'\",\n",
" cohort2_query=\"country == 'Mayotte'\",\n",
" max_cohort_size=10,\n",
")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "89cf50ac",
"metadata": {},
"outputs": [],
"source": [
"ag3.plot_xpehh_gwss_track(\n",
"ag3.plot_xpehh_gwss(\n",
" contig=\"X\",\n",
" window_size=1_000,\n",
" analysis=\"gamb_colu\",\n",
Expand Down Expand Up @@ -120,7 +137,7 @@
"metadata": {},
"outputs": [],
"source": [
"af1.plot_xpehh_gwss_track(\n",
"af1.plot_xpehh_gwss(\n",
" contig=\"X\",\n",
" window_size=2_000,\n",
" cohort1_query=\"cohort_admin1_year == 'MZ-L_fune_2018'\",\n",
Expand All @@ -136,8 +153,8 @@
"metadata": {},
"outputs": [],
"source": [
"af1.plot_xpehh_gwss_track(\n",
" contig=\"X\",\n",
"af1.plot_xpehh_gwss(\n",
" contig=\"2RL\",\n",
" window_size=200,\n",
" cohort1_query=\"cohort_admin1_year == 'MZ-L_fune_2018'\",\n",
" cohort2_query=\"cohort_admin1_year == 'GA-2_fune_2017'\",\n",
Expand Down Expand Up @@ -170,7 +187,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.11"
"version": "3.10.6"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 3cf92c1

Please sign in to comment.