Skip to content

Commit

Permalink
minor corrections due to directory changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Belliveau committed May 22, 2018
1 parent 6e9b10e commit 6bfa9b9
Show file tree
Hide file tree
Showing 8 changed files with 185 additions and 1,394 deletions.
Binary file not shown.
42 changes: 24 additions & 18 deletions jupyter_notebooks/SI_B_mutation_diversity.ipynb

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions jupyter_notebooks/SI_B_mutation_histogram.ipynb
Expand Up @@ -33,7 +33,7 @@
"\n",
"# Import the project utils\n",
"import sys\n",
"sys.path.insert(0, '../')\n",
"sys.path.insert(0, '../code/')\n",
"import NB_sortseq_utils as utils\n",
"\n",
"# Import matplotlib stuff for plotting\n",
Expand Down Expand Up @@ -63,13 +63,15 @@
"mut_region_start = 0\n",
"mut_region_length = 70\n",
"\n",
"data_fn = '../../data/sortseq_pymc_dump/20150513_marR_MG1655_LB_na_mut1_4bins_seq.csv'"
"data_fn = '../data/sortseq_pymc_dump/20150513_marR_MG1655_LB_na_mut1_4bins_seq.csv'"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"#======================================================#\n",
Expand Down
8 changes: 4 additions & 4 deletions jupyter_notebooks/SI_D_affinity_chromatography_model.ipynb
Expand Up @@ -11,7 +11,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"metadata": {
"collapsed": true
},
Expand All @@ -23,12 +23,12 @@
"import numpy as np\n",
"\n",
"# # Import the project utils\n",
"# import sys\n",
"# sys.path.insert(0, '../')\n",
"import sys\n",
"sys.path.insert(0, '../code/')\n",
"import NB_sortseq_utils as utils\n",
"\n",
"# Import matplotlib stuff for plotting\n",
"import matplotlib.pyplot as plt\n",
"import NB_sortseq_utils as utils\n",
"utils.set_plotting_style1()\n",
"%matplotlib inline"
]
Expand Down
7 changes: 2 additions & 5 deletions jupyter_notebooks/SI_G_dgoR_simulation.ipynb
Expand Up @@ -18,7 +18,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"metadata": {
"collapsed": true
},
Expand All @@ -33,11 +33,8 @@
"import matplotlib.pyplot as plt\n",
"from IPython.core.pylabtools import figsize\n",
"import sys\n",
"sys.path.insert(0, '../')\n",
"# sys.path.insert(0, '../../')\n",
"# sys.path.insert(0, '../sortseq_pymc/')\n",
"sys.path.insert(0, '../code/')\n",
"import NB_sortseq_utils as utils\n",
"# import MCMC_utils\n",
"\n",
"# Seaborn, useful for graphics\n",
"import seaborn as sns\n",
Expand Down
23 changes: 17 additions & 6 deletions jupyter_notebooks/SI_H_thermodynamic_model_MCMC_processing.ipynb
Expand Up @@ -18,7 +18,9 @@
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# load in the usual tools\n",
Expand All @@ -29,7 +31,7 @@
"\n",
"# Import the project utils\n",
"import sys\n",
"sys.path.insert(0, '../')\n",
"sys.path.insert(0, '../code/')\n",
"import NB_sortseq_utils as utils\n",
"utils.set_plotting_style1()\n",
"from IPython.core.pylabtools import figsize\n",
Expand Down Expand Up @@ -120,6 +122,7 @@
"cell_type": "code",
"execution_count": 13,
"metadata": {
"collapsed": true,
"scrolled": false
},
"outputs": [],
Expand Down Expand Up @@ -314,7 +317,9 @@
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# values in MCMC chain (first three are the parameter values that could be fit)\n",
Expand All @@ -331,7 +336,9 @@
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# fig, ax = plt.subplots(len(names),1, figsize=(5,5*len(names)))\n",
Expand Down Expand Up @@ -457,14 +464,18 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 150,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# We can also view the distributions using the corner tool\n",
Expand Down
107 changes: 53 additions & 54 deletions jupyter_notebooks/Sort-Seq_energy_matrix_visualization.ipynb

Large diffs are not rendered by default.

1,384 changes: 80 additions & 1,304 deletions jupyter_notebooks/Sort-Seq_promoter_data_visualization.ipynb

Large diffs are not rendered by default.

0 comments on commit 6bfa9b9

Please sign in to comment.