|
228 | 228 | </li> |
229 | 229 | <li class="sidebar-item"> |
230 | 230 | <div class="sidebar-item-container"> |
231 | | - <a href="../lessons/07_hosting.html" class="sidebar-item-text sidebar-link"> |
| 231 | + <a href="../lessons/07b_hosting.html" class="sidebar-item-text sidebar-link"> |
232 | 232 | <span class="menu-text">Hosting Options for RShiny Apps</span></a> |
233 | 233 | </div> |
234 | 234 | </li> |
235 | 235 | <li class="sidebar-item"> |
236 | 236 | <div class="sidebar-item-container"> |
237 | 237 | <a href="../lessons/08_layout_practical.html" class="sidebar-item-text sidebar-link"> |
238 | | - <span class="menu-text">Practical Exercise</span></a> |
| 238 | + <span class="menu-text">Layout Practical</span></a> |
239 | 239 | </div> |
240 | 240 | </li> |
241 | 241 | </ul> |
@@ -312,7 +312,10 @@ <h2 id="toc-title">On this page</h2> |
312 | 312 | <section id="input-and-output-practical" class="level1"> |
313 | 313 | <h1>Input and Output Practical</h1> |
314 | 314 | <p>In this practical we are going to create the app below:</p> |
315 | | -<p><strong>Create app</strong></p> |
| 315 | +<p align="center"> |
| 316 | +<iframe src="https://hcbc.connect.hms.harvard.edu/input_output_practical_demo/" width="800" height="600px" data-external="1"> |
| 317 | +</iframe> |
| 318 | +</p> |
316 | 319 | <p>This app let’s us select the columns that we would like to plot and then allows us to use a brush on our plot select an area of points that we are interested in evaluating.</p> |
317 | 320 | <div class="callout callout-style-default callout-tip callout-titled"> |
318 | 321 | <div class="callout-header d-flex align-content-center"> |
@@ -833,29 +836,30 @@ <h1>Input and Output Practical</h1> |
833 | 836 | <span id="cb1-38"><a href="#cb1-38" aria-hidden="true" tabindex="-1"></a></span> |
834 | 837 | <span id="cb1-39"><a href="#cb1-39" aria-hidden="true" tabindex="-1"></a>In this practical we are going to create the app below:</span> |
835 | 838 | <span id="cb1-40"><a href="#cb1-40" aria-hidden="true" tabindex="-1"></a></span> |
836 | | -<span id="cb1-41"><a href="#cb1-41" aria-hidden="true" tabindex="-1"></a>**Create app**</span> |
| 839 | +<span id="cb1-41"><a href="#cb1-41" aria-hidden="true" tabindex="-1"></a><span class="dt"><</span><span class="kw">p</span><span class="ot"> align</span><span class="op">=</span><span class="st">"center"</span><span class="dt">><</span><span class="kw">iframe</span><span class="ot"> src</span><span class="op">=</span><span class="st">"https://hcbc.connect.hms.harvard.edu/input_output_practical_demo/"</span><span class="ot"> width</span><span class="op">=</span><span class="st">"800"</span><span class="ot"> height</span><span class="op">=</span><span class="st">"600px"</span><span class="ot"> data-external</span><span class="op">=</span><span class="st">"1"</span><span class="dt">></</span><span class="kw">iframe</span><span class="dt">></</span><span class="kw">p</span><span class="dt">></span></span> |
837 | 840 | <span id="cb1-42"><a href="#cb1-42" aria-hidden="true" tabindex="-1"></a></span> |
838 | | -<span id="cb1-43"><a href="#cb1-43" aria-hidden="true" tabindex="-1"></a>This app let's us select the columns that we would like to plot and then allows us to use a brush on our plot select an area of points that we are interested in evaluating.</span> |
839 | | -<span id="cb1-44"><a href="#cb1-44" aria-hidden="true" tabindex="-1"></a></span> |
840 | | -<span id="cb1-45"><a href="#cb1-45" aria-hidden="true" tabindex="-1"></a>:::{.callout-tip}</span> |
841 | | -<span id="cb1-46"><a href="#cb1-46" aria-hidden="true" tabindex="-1"></a><span class="fu"># [**Exercise 1**](04_input_output_practical-Answer_key.qmd#exercise-1)</span></span> |
842 | | -<span id="cb1-47"><a href="#cb1-47" aria-hidden="true" tabindex="-1"></a></span> |
843 | | -<span id="cb1-48"><a href="#cb1-48" aria-hidden="true" tabindex="-1"></a>Let's focus on creating this app in several parts:</span> |
844 | | -<span id="cb1-49"><a href="#cb1-49" aria-hidden="true" tabindex="-1"></a></span> |
845 | | -<span id="cb1-50"><a href="#cb1-50" aria-hidden="true" tabindex="-1"></a><span class="ss">1. </span>Create two <span class="in">`selectInput()`</span> menus to choose the x- and y-axis to plot along with the resulting output plot.</span> |
846 | | -<span id="cb1-51"><a href="#cb1-51" aria-hidden="true" tabindex="-1"></a></span> |
847 | | -<span id="cb1-52"><a href="#cb1-52" aria-hidden="true" tabindex="-1"></a><span class="ss">2. </span>Add to our app the ability to brush over the plot and select points to place in a table beneath the plot.</span> |
848 | | -<span id="cb1-53"><a href="#cb1-53" aria-hidden="true" tabindex="-1"></a>:::</span> |
849 | | -<span id="cb1-54"><a href="#cb1-54" aria-hidden="true" tabindex="-1"></a></span> |
850 | | -<span id="cb1-55"><a href="#cb1-55" aria-hidden="true" tabindex="-1"></a>***</span> |
851 | | -<span id="cb1-56"><a href="#cb1-56" aria-hidden="true" tabindex="-1"></a></span> |
852 | | -<span id="cb1-57"><a href="#cb1-57" aria-hidden="true" tabindex="-1"></a><span class="co">[</span><span class="ot">Next Lesson >></span><span class="co">](05_uploading_downloading_data.qmd)</span></span> |
853 | | -<span id="cb1-58"><a href="#cb1-58" aria-hidden="true" tabindex="-1"></a></span> |
854 | | -<span id="cb1-59"><a href="#cb1-59" aria-hidden="true" tabindex="-1"></a><span class="co">[</span><span class="ot">Back to Schedule</span><span class="co">](../schedule/schedule_AZ.qmd)</span></span> |
855 | | -<span id="cb1-60"><a href="#cb1-60" aria-hidden="true" tabindex="-1"></a></span> |
856 | | -<span id="cb1-61"><a href="#cb1-61" aria-hidden="true" tabindex="-1"></a>*** </span> |
857 | | -<span id="cb1-62"><a href="#cb1-62" aria-hidden="true" tabindex="-1"></a></span> |
858 | | -<span id="cb1-63"><a href="#cb1-63" aria-hidden="true" tabindex="-1"></a>*This lesson has been developed by members of the teaching team at the [Harvard Chan Bioinformatics Core (HBC)](http://bioinformatics.sph.harvard.edu/). These are open access materials distributed under the terms of the [Creative Commons Attribution license](https://creativecommons.org/licenses/by/4.0/) (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.*</span></code><button title="Copy to Clipboard" class="code-copy-button" data-in-quarto-modal=""><i class="bi"></i></button></pre></div> |
| 841 | +<span id="cb1-43"><a href="#cb1-43" aria-hidden="true" tabindex="-1"></a></span> |
| 842 | +<span id="cb1-44"><a href="#cb1-44" aria-hidden="true" tabindex="-1"></a>This app let's us select the columns that we would like to plot and then allows us to use a brush on our plot select an area of points that we are interested in evaluating.</span> |
| 843 | +<span id="cb1-45"><a href="#cb1-45" aria-hidden="true" tabindex="-1"></a></span> |
| 844 | +<span id="cb1-46"><a href="#cb1-46" aria-hidden="true" tabindex="-1"></a>:::{.callout-tip}</span> |
| 845 | +<span id="cb1-47"><a href="#cb1-47" aria-hidden="true" tabindex="-1"></a><span class="fu"># [**Exercise 1**](04_input_output_practical-Answer_key.qmd#exercise-1)</span></span> |
| 846 | +<span id="cb1-48"><a href="#cb1-48" aria-hidden="true" tabindex="-1"></a></span> |
| 847 | +<span id="cb1-49"><a href="#cb1-49" aria-hidden="true" tabindex="-1"></a>Let's focus on creating this app in several parts:</span> |
| 848 | +<span id="cb1-50"><a href="#cb1-50" aria-hidden="true" tabindex="-1"></a></span> |
| 849 | +<span id="cb1-51"><a href="#cb1-51" aria-hidden="true" tabindex="-1"></a><span class="ss">1. </span>Create two <span class="in">`selectInput()`</span> menus to choose the x- and y-axis to plot along with the resulting output plot.</span> |
| 850 | +<span id="cb1-52"><a href="#cb1-52" aria-hidden="true" tabindex="-1"></a></span> |
| 851 | +<span id="cb1-53"><a href="#cb1-53" aria-hidden="true" tabindex="-1"></a><span class="ss">2. </span>Add to our app the ability to brush over the plot and select points to place in a table beneath the plot.</span> |
| 852 | +<span id="cb1-54"><a href="#cb1-54" aria-hidden="true" tabindex="-1"></a>:::</span> |
| 853 | +<span id="cb1-55"><a href="#cb1-55" aria-hidden="true" tabindex="-1"></a></span> |
| 854 | +<span id="cb1-56"><a href="#cb1-56" aria-hidden="true" tabindex="-1"></a>***</span> |
| 855 | +<span id="cb1-57"><a href="#cb1-57" aria-hidden="true" tabindex="-1"></a></span> |
| 856 | +<span id="cb1-58"><a href="#cb1-58" aria-hidden="true" tabindex="-1"></a><span class="co">[</span><span class="ot">Next Lesson >></span><span class="co">](05_uploading_downloading_data.qmd)</span></span> |
| 857 | +<span id="cb1-59"><a href="#cb1-59" aria-hidden="true" tabindex="-1"></a></span> |
| 858 | +<span id="cb1-60"><a href="#cb1-60" aria-hidden="true" tabindex="-1"></a><span class="co">[</span><span class="ot">Back to Schedule</span><span class="co">](../schedule/schedule_AZ.qmd)</span></span> |
| 859 | +<span id="cb1-61"><a href="#cb1-61" aria-hidden="true" tabindex="-1"></a></span> |
| 860 | +<span id="cb1-62"><a href="#cb1-62" aria-hidden="true" tabindex="-1"></a>*** </span> |
| 861 | +<span id="cb1-63"><a href="#cb1-63" aria-hidden="true" tabindex="-1"></a></span> |
| 862 | +<span id="cb1-64"><a href="#cb1-64" aria-hidden="true" tabindex="-1"></a>*This lesson has been developed by members of the teaching team at the [Harvard Chan Bioinformatics Core (HBC)](http://bioinformatics.sph.harvard.edu/). These are open access materials distributed under the terms of the [Creative Commons Attribution license](https://creativecommons.org/licenses/by/4.0/) (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.*</span></code><button title="Copy to Clipboard" class="code-copy-button" data-in-quarto-modal=""><i class="bi"></i></button></pre></div> |
859 | 863 | </div></div></div></div></div> |
860 | 864 | </div> <!-- /content --> |
861 | 865 | <footer class="footer"> |
|
0 commit comments