<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="pandoc" /> <title>Analysis</title> <script src="site_libs/jquery-1.11.3/jquery.min.js"></script> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link href="site_libs/bootstrap-3.3.5/css/lumen.min.css" rel="stylesheet" /> <script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script> <script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script> <script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script> <link href="site_libs/font-awesome-5.0.13/css/fa-svg-with-js.css" rel="stylesheet" /> <script src="site_libs/font-awesome-5.0.13/js/fontawesome-all.min.js"></script> <script src="site_libs/font-awesome-5.0.13/js/fa-v4-shims.min.js"></script> <style type="text/css">code{white-space: pre;}</style> <style type="text/css"> div.sourceCode { overflow-x: auto; } table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode { margin: 0; padding: 0; vertical-align: baseline; border: none; } table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; } code > span.kw { color: #0000ff; } /* Keyword */ code > span.ch { color: #008080; } /* Char */ code > span.st { color: #008080; } /* String */ code > span.co { color: #008000; } /* Comment */ code > span.ot { color: #ff4000; } /* Other */ code > span.al { color: #ff0000; } /* Alert */ code > span.er { color: #ff0000; font-weight: bold; } /* Error */ code > span.wa { color: #008000; font-weight: bold; } /* Warning */ code > span.cn { } /* Constant */ code > span.sc { color: #008080; } /* SpecialChar */ code > span.vs { color: #008080; } /* VerbatimString */ code > span.ss { color: #008080; } /* SpecialString */ code > span.im { } /* Import */ code > span.va { } /* Variable */ code > span.cf { color: #0000ff; } /* ControlFlow */ code > span.op { } /* Operator */ code > span.bu { } /* BuiltIn */ code > span.ex { } /* Extension */ code > span.pp { color: #ff4000; } /* Preprocessor */ code > span.do { color: #008000; } /* Documentation */ code > span.an { color: #008000; } /* Annotation */ code > span.cv { color: #008000; } /* CommentVar */ code > span.at { } /* Attribute */ code > span.in { color: #008000; } /* Information */ </style> <style type="text/css"> pre:not([class]) { background-color: white; } </style> <style type="text/css"> h1 { font-size: 34px; } h1.title { font-size: 38px; } h2 { font-size: 30px; } h3 { font-size: 24px; } h4 { font-size: 18px; } h5 { font-size: 16px; } h6 { font-size: 12px; } .table th:not([align]) { text-align: left; } </style> </head> <body> <style type = "text/css"> .main-container { max-width: 940px; margin-left: auto; margin-right: auto; } code { color: inherit; background-color: rgba(0, 0, 0, 0.04); } img { max-width:100%; height: auto; } .tabbed-pane { padding-top: 12px; } .html-widget { margin-bottom: 20px; } button.code-folding-btn:focus { outline: none; } </style> <style type="text/css"> /* padding for bootstrap navbar */ body { padding-top: 51px; padding-bottom: 40px; } /* offset scroll position for anchor links (for fixed navbar) */ .section h1 { padding-top: 56px; margin-top: -56px; } .section h2 { padding-top: 56px; margin-top: -56px; } .section h3 { padding-top: 56px; margin-top: -56px; } .section h4 { padding-top: 56px; margin-top: -56px; } .section h5 { padding-top: 56px; margin-top: -56px; } .section h6 { padding-top: 56px; margin-top: -56px; } </style> <script> // manage active state of menu based on current page $(document).ready(function () { // active menu anchor href = window.location.pathname href = href.substr(href.lastIndexOf('/') + 1) if (href === "") href = "index.html"; var menuAnchor = $('a[href="' + href + '"]'); // mark it active menuAnchor.parent().addClass('active'); // if it's got a parent navbar menu mark it active as well menuAnchor.closest('li.dropdown').addClass('active'); }); </script> <div class="container-fluid main-container"> <!-- tabsets --> <script> $(document).ready(function () { window.buildTabsets("TOC"); }); </script> <!-- code folding --> <div class="navbar navbar-default navbar-fixed-top" role="navigation"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="index.html">mu-data-viz</a> </div> <div id="navbar" class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li> <a href="index.html">Home</a> </li> <li> <a href="about.html">About</a> </li> <li> <a href="analysis.html">Analysis</a> </li> </ul> <ul class="nav navbar-nav navbar-right"> <li> <a href="https://github.com/sdhutchins/mu-paper-dataviz"> <span class="fa fa-github"></span> </a> </li> </ul> </div><!--/.nav-collapse --> </div><!--/.container --> </div><!--/.navbar --> <!-- Add a small amount of space between sections. --> <style type="text/css"> div.section { padding-top: 12px; } </style> <div class="fluid-row" id="header"> <h1 class="title toc-ignore">Analysis</h1> </div> <p><strong>Last updated:</strong> 2018-09-28</p> <strong>workflowr checks:</strong> <small>(Click a bullet for more information)</small> <ul> <li> <p><details> <summary> <strong style="color:red;">✖</strong> <strong>R Markdown file:</strong> uncommitted changes </summary> The R Markdown file has unstaged changes. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run <code>wflow_publish</code> to commit the R Markdown file and build the HTML.</p> </details> </li> <li> <p><details> <summary> <strong style="color:blue;">✔</strong> <strong>Environment:</strong> empty </summary></p> <p>Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.</p> </details> </li> <li> <p><details> <summary> <strong style="color:blue;">✔</strong> <strong>Seed:</strong> <code>set.seed(20180924)</code> </summary></p> <p>The command <code>set.seed(20180924)</code> was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.</p> </details> </li> <li> <p><details> <summary> <strong style="color:blue;">✔</strong> <strong>Session information:</strong> recorded </summary></p> <p>Great job! Recording the operating system, R version, and package versions is critical for reproducibility.</p> </details> </li> <li> <p><details> <summary> <strong style="color:blue;">✔</strong> <strong>Repository version:</strong> <a href="https://github.com/sdhutchins/mu-paper-dataviz/tree/5d391560f1cd811153371d9643137b221ef65700" target="_blank">5d39156</a> </summary></p> Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility. The version displayed above was the version of the Git repository at the time these results were generated. <br><br> Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use <code>wflow_publish</code> or <code>wflow_git_commit</code>). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated: <pre><code> Ignored files: Ignored: .Rproj.user/9BE7717F/console06/ Ignored: .Rproj.user/9BE7717F/ctx/ Ignored: .Rproj.user/9BE7717F/explorer-cache/ Ignored: .Rproj.user/9BE7717F/pcs/ Ignored: .Rproj.user/9BE7717F/presentation/ Ignored: .Rproj.user/9BE7717F/profiles-cache/ Ignored: .Rproj.user/9BE7717F/sources/per/ Ignored: .Rproj.user/9BE7717F/sources/s-6C0A0637/ Ignored: .Rproj.user/9BE7717F/viewer-cache/ Ignored: .Rproj.user/shared/notebooks/4377CA6B-about/ Ignored: .Rproj.user/shared/notebooks/5F7EF42D-index/ Ignored: .Rproj.user/shared/notebooks/ABEFF919-analysis/ Unstaged changes: Modified: analysis/analysis.Rmd Modified: code/delta_log_bars.R </code></pre> Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes. </details> </li> </ul> <details> <summary> <small><strong>Expand here to see past versions:</strong></small> </summary> <ul> <table style="border-collapse:separate; border-spacing:5px;"> <thead> <tr> <th style="text-align:left;"> File </th> <th style="text-align:left;"> Version </th> <th style="text-align:left;"> Author </th> <th style="text-align:left;"> Date </th> <th style="text-align:left;"> Message </th> </tr> </thead> <tbody> <tr> <td style="text-align:left;"> Rmd </td> <td style="text-align:left;"> <a href="https://github.com/sdhutchins/mu-paper-dataviz/blob/5d391560f1cd811153371d9643137b221ef65700/analysis/analysis.Rmd" target="_blank">5d39156</a> </td> <td style="text-align:left;"> S. Hutchins </td> <td style="text-align:left;"> 2018-09-28 </td> <td style="text-align:left;"> Added code and analysis for bar charts. </td> </tr> <tr> <td style="text-align:left;"> html </td> <td style="text-align:left;"> <a href="https://cdn.rawgit.com/sdhutchins/mu-paper-dataviz/5d391560f1cd811153371d9643137b221ef65700/docs/analysis.html" target="_blank">5d39156</a> </td> <td style="text-align:left;"> S. Hutchins </td> <td style="text-align:left;"> 2018-09-28 </td> <td style="text-align:left;"> Added code and analysis for bar charts. </td> </tr> <tr> <td style="text-align:left;"> html </td> <td style="text-align:left;"> <a href="https://cdn.rawgit.com/sdhutchins/mu-paper-dataviz/fbd5b515f3dd1859f5a9a52f1349ce467266e205/docs/analysis.html" target="_blank">fbd5b51</a> </td> <td style="text-align:left;"> S. Hutchins </td> <td style="text-align:left;"> 2018-09-25 </td> <td style="text-align:left;"> Build site. </td> </tr> <tr> <td style="text-align:left;"> html </td> <td style="text-align:left;"> <a href="https://cdn.rawgit.com/sdhutchins/mu-paper-dataviz/d4b035043f94a9726966ed0f31b0ecb5a4edb8f1/docs/analysis.html" target="_blank">d4b0350</a> </td> <td style="text-align:left;"> S. Hutchins </td> <td style="text-align:left;"> 2018-09-25 </td> <td style="text-align:left;"> Build site. </td> </tr> <tr> <td style="text-align:left;"> Rmd </td> <td style="text-align:left;"> <a href="https://github.com/sdhutchins/mu-paper-dataviz/blob/876098d0e94caa85bc3d516e3f49de00e65cfed8/analysis/analysis.Rmd" target="_blank">876098d</a> </td> <td style="text-align:left;"> S. Hutchins </td> <td style="text-align:left;"> 2018-09-25 </td> <td style="text-align:left;"> Updated knitr chunks </td> </tr> <tr> <td style="text-align:left;"> html </td> <td style="text-align:left;"> <a href="https://cdn.rawgit.com/sdhutchins/mu-paper-dataviz/19218284d29263fd48405f8609724d63ac6a966e/docs/analysis.html" target="_blank">1921828</a> </td> <td style="text-align:left;"> S. Hutchins </td> <td style="text-align:left;"> 2018-09-25 </td> <td style="text-align:left;"> Build site. </td> </tr> <tr> <td style="text-align:left;"> Rmd </td> <td style="text-align:left;"> <a href="https://github.com/sdhutchins/mu-paper-dataviz/blob/e4fd4f56cd2303d4eb8ee947904a290ddc9a4394/analysis/analysis.Rmd" target="_blank">e4fd4f5</a> </td> <td style="text-align:left;"> S. Hutchins </td> <td style="text-align:left;"> 2018-09-25 </td> <td style="text-align:left;"> Added bar charts </td> </tr> </tbody> </table> </ul> <p></details></p> <hr /> <div id="generating-bar-plots-for--logka" class="section level1"> <h1>Generating Bar Plots for Δ logKa</h1> <div id="maccaca-mulatta-ligands" class="section level2"> <h2><em>Maccaca Mulatta</em> + Ligands</h2> <p><img src="figure/analysis.Rmd/unnamed-chunk-1-1.png" width="672" style="display: block; margin: auto;" /></p> <details> <summary><em>Expand here to see past versions of unnamed-chunk-1-1.png:</em></summary> <table style="border-collapse:separate; border-spacing:5px;"> <thead> <tr> <th style="text-align:left;"> Version </th> <th style="text-align:left;"> Author </th> <th style="text-align:left;"> Date </th> </tr> </thead> <tbody> <tr> <td style="text-align:left;"> <a href="https://github.com/sdhutchins/mu-paper-dataviz/blob/5d391560f1cd811153371d9643137b221ef65700/docs/figure/analysis.Rmd/unnamed-chunk-1-1.png" target="_blank">5d39156</a> </td> <td style="text-align:left;"> S. Hutchins </td> <td style="text-align:left;"> 2018-09-28 </td> </tr> <tr> <td style="text-align:left;"> <a href="https://github.com/sdhutchins/mu-paper-dataviz/blob/19218284d29263fd48405f8609724d63ac6a966e/docs/figure/analysis.Rmd/unnamed-chunk-1-1.png" target="_blank">1921828</a> </td> <td style="text-align:left;"> S. Hutchins </td> <td style="text-align:left;"> 2018-09-25 </td> </tr> </tbody> </table> <p></details> <img src="figure/analysis.Rmd/unnamed-chunk-1-2.png" width="672" style="display: block; margin: auto;" /></p> </div> <div id="session-information" class="section level2"> <h2>Session information</h2> <div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">sessionInfo</span>()</code></pre></div> <pre><code>R version 3.5.1 (2018-07-02) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1 Matrix products: default locale: [1] LC_COLLATE=English_United States.1252 [2] LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C [5] LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] bindrcpp_0.2.2 ggthemes_4.0.1 ggpubr_0.1.8 magrittr_1.5 [5] forcats_0.3.0 stringr_1.3.1 dplyr_0.7.6 purrr_0.2.5 [9] readr_1.1.1 tidyr_0.8.1 tibble_1.4.2 ggplot2_3.0.0 [13] tidyverse_1.2.1 loaded via a namespace (and not attached): [1] tidyselect_0.2.4 haven_1.1.2 lattice_0.20-35 [4] colorspace_1.3-2 htmltools_0.3.6 yaml_2.2.0 [7] rlang_0.2.2 R.oo_1.22.0 pillar_1.3.0 [10] glue_1.3.0 withr_2.1.2 R.utils_2.7.0 [13] modelr_0.1.2 readxl_1.1.0 bindr_0.1.1 [16] plyr_1.8.4 munsell_0.5.0 gtable_0.2.0 [19] workflowr_1.1.1 cellranger_1.1.0 rvest_0.3.2 [22] R.methodsS3_1.7.1 evaluate_0.11 labeling_0.3 [25] knitr_1.20 broom_0.5.0 Rcpp_0.12.18 [28] scales_1.0.0 backports_1.1.2 jsonlite_1.5 [31] hms_0.4.2 digest_0.6.17 stringi_1.2.4 [34] grid_3.5.1 rprojroot_1.3-2 cli_1.0.1 [37] tools_3.5.1 lazyeval_0.2.1 crayon_1.3.4 [40] whisker_0.3-2 pkgconfig_2.0.2 xml2_1.2.0 [43] lubridate_1.7.4 assertthat_0.2.0 rmarkdown_1.10 [46] httr_1.3.1 rstudioapi_0.7 R6_2.2.2 [49] nlme_3.1-137 git2r_0.23.0 compiler_3.5.1 </code></pre> </div> </div> <!-- Adjust MathJax settings so that all math formulae are shown using TeX fonts only; see http://docs.mathjax.org/en/latest/configuration.html. This will make the presentation more consistent at the cost of the webpage sometimes taking slightly longer to load. Note that this only works because the footer is added to webpages before the MathJax javascript. --> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ "HTML-CSS": { availableFonts: ["TeX"] } }); </script> <hr> <p> This reproducible <a href="http://rmarkdown.rstudio.com">R Markdown</a> analysis was created with <a href="https://github.com/jdblischak/workflowr">workflowr</a> 1.1.1 </p> <hr> </div> <script> // add bootstrap table styles to pandoc tables function bootstrapStylePandocTables() { $('tr.header').parent('thead').parent('table').addClass('table table-condensed'); } $(document).ready(function () { bootstrapStylePandocTables(); }); </script> <!-- dynamically load mathjax for compatibility with self-contained --> <script> (function () { var script = document.createElement("script"); script.type = "text/javascript"; script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"; document.getElementsByTagName("head")[0].appendChild(script); })(); </script> </body> </html>