mirror of
https://github.com/gladstone-institutes/Bioinformatics-Workshops.git
synced 2025-11-30 09:45:43 -08:00
fix incorrect answer for poll and add library example
This commit is contained in:
parent
3d03689086
commit
0701bb0b1d
3 changed files with 20 additions and 8 deletions
|
|
@ -2753,7 +2753,7 @@ one style of names</li>
|
|||
<li>cat_dog</li>
|
||||
<li>CatDOG</li>
|
||||
<li>cat.dog</li>
|
||||
<li>catD0g</li>
|
||||
<li>catD*g</li>
|
||||
</ol>
|
||||
</section>
|
||||
<section id="excercise-1" class="slide level2">
|
||||
|
|
@ -2838,7 +2838,7 @@ types/structures</strong> (ex. nested lists)</li>
|
|||
<section id="min-break" class="title-slide slide level1">
|
||||
<h1>10 min break</h1>
|
||||
<center>
|
||||
<div class="countdown" id="timer_e9648370" data-update-every="1" tabindex="0" style="right:0;bottom:0;margin:5%;padding:50px;font-size:5em;position: relative; width: min-content;">
|
||||
<div class="countdown" id="timer_125f060d" data-update-every="1" tabindex="0" style="right:0;bottom:0;margin:5%;padding:50px;font-size:5em;position: relative; width: min-content;">
|
||||
<div class="countdown-controls"><button class="countdown-bump-down">−</button><button class="countdown-bump-up">+</button></div>
|
||||
<code class="countdown-time"><span class="countdown-digits minutes">10</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code>
|
||||
</div>
|
||||
|
|
@ -2987,9 +2987,15 @@ specified with the <strong>return</strong> keyword:</li>
|
|||
<ul>
|
||||
<li>Packages are collections of functions that are specialized to a
|
||||
specific task (plotting, data manipulation etc.)</li>
|
||||
</ul>
|
||||
<div class="sourceCode" id="cb16"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb16-1"><a href="#cb16-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(ggplot2) <span class="co"># Makes all of the ggplot2 functions available</span></span></code></pre></div>
|
||||
<ul>
|
||||
<li>The tidyverse is a collection of commonly used data analysis
|
||||
packages - Learning curve is less steep - Lots of useful packages for
|
||||
data analysis</li>
|
||||
packages
|
||||
<ul>
|
||||
<li>Learning curve is less steep</li>
|
||||
<li>Lots of useful packages for data analysis</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section id="section-2" class="slide level2">
|
||||
|
|
|
|||
|
|
@ -166,7 +166,7 @@ DogBreeds <- c("Labrador Retriever", "Akita", "Bulldog")
|
|||
1. cat_dog
|
||||
2. CatDOG
|
||||
3. cat.dog
|
||||
4. catD0g
|
||||
4. catD*g
|
||||
|
||||
|
||||
## Excercise 1
|
||||
|
|
@ -370,10 +370,16 @@ mystery_function <- function(x) {
|
|||
|
||||
## Packages
|
||||
- Packages are collections of functions that are specialized to a specific task (plotting, data manipulation etc.)
|
||||
|
||||
```{r}
|
||||
library(ggplot2) # Makes all of the ggplot2 functions available
|
||||
```
|
||||
|
||||
|
||||
- The tidyverse is a collection of commonly used data analysis
|
||||
packages
|
||||
- Learning curve is less steep
|
||||
- Lots of useful packages for data analysis
|
||||
- Learning curve is less steep
|
||||
- Lots of useful packages for data analysis
|
||||
|
||||
##
|
||||
|
||||
|
|
|
|||
0
intro-r-data-analysis/Intro_to_R_workshop_materials/part_1.R
Executable file → Normal file
0
intro-r-data-analysis/Intro_to_R_workshop_materials/part_1.R
Executable file → Normal file
Loading…
Add table
Add a link
Reference in a new issue