Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-paul-2006 committed Jul 10, 2024
2 parents c34b46a + cb54431 commit f05ce6e
Show file tree
Hide file tree
Showing 14 changed files with 138 additions and 150 deletions.
Binary file modified docs/data/writeThisMultipleXLSX.xlsx
Binary file not shown.
Binary file modified docs/data/writeThisXLSX.xlsx
Binary file not shown.
20 changes: 7 additions & 13 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ <h2>Course Overview</h2>
<p><br></p>
<div id="course-integrity" class="section level3">
<h3>Course Integrity</h3>
<p><strong>This course is compiled automatically on <em>2024-07-01</em>
<p><strong>This course is compiled automatically on <em>2024-07-03</em>
</strong> <br> <a
href="https://github.com/RockefellerUniversity/Intro_To_R_1Day/actions?query=workflow%3compilation-check"><img src="https://github.com/RockefellerUniversity/Intro_To_R_1Day/workflows/compilation-check/badge.svg"></a></p>
<p><strong>The course is tested and available on MacOS, Windows and
Expand Down Expand Up @@ -514,20 +514,14 @@ <h4><strong>System Requirements</strong></h4>
<h4>Install R</h4>
<p>R can be installed from the R-project website.</p>
<p>The R website can be found here <a href="http://www.r-project.org/"
class="uri">http://www.r-project.org/</a>.</p>
<p>The download links and associated installation instructions for
multiple platforms can be found below provided by Revolution Analytics.
<a href="https://cran.revolutionanalytics.com"
class="uri">https://cran.revolutionanalytics.com</a></p>
<p>We recommend installing R 4.4.0 as this is the version used to
compile the course. Direct downloads for R 4.4.0 for the main platforms
can be found below:</p>
class="uri">http://www.r-project.org/</a>. This website has all the
latest information about R updates, conferences and installation</p>
<p>You can use this direct links to the install for each major OS:</p>
<ul>
<li><a href="https://cloud.r-project.org/bin/macosx/">Mac</a></li>
<li><a
href="https://cran.revolutionanalytics.com/bin/macosx/R-4.4.0.pkg">Mac</a></li>
<li><a
href="https://cran.revolutionanalytics.com/bin/windows/base/old/4.4.0/R-4.4.0-win.exe">Windows</a></li>
<li><a href="https://cran.revolutionanalytics.com">Linux
href="https://cloud.r-project.org/bin/windows/base/release.html">Windows</a></li>
<li><a href="https://cloud.r-project.org/bin/linux/">Linux
platforms</a></li>
</ul>
<p><br></p>
Expand Down
48 changes: 24 additions & 24 deletions docs/presentations/singlepage/introToR_Session1.html
Original file line number Diff line number Diff line change
Expand Up @@ -3010,111 +3010,111 @@ <h2>Data from external sources</h2>
Gene_a
</td>
<td style="text-align:right;">
3.330937
3.734678
</td>
<td style="text-align:right;">
4.459819
4.136144
</td>
<td style="text-align:right;">
4.989721
4.531833
</td>
</tr>
<tr>
<td style="text-align:left;">
Gene_b
</td>
<td style="text-align:right;">
2.795496
4.500837
</td>
<td style="text-align:right;">
5.147355
5.469900
</td>
<td style="text-align:right;">
5.572926
4.597268
</td>
</tr>
<tr>
<td style="text-align:left;">
Gene_c
</td>
<td style="text-align:right;">
4.270590
5.508509
</td>
<td style="text-align:right;">
4.886914
5.730373
</td>
<td style="text-align:right;">
7.167036
4.464936
</td>
</tr>
<tr>
<td style="text-align:left;">
Gene_d
</td>
<td style="text-align:right;">
4.134175
4.692261
</td>
<td style="text-align:right;">
3.910933
4.241403
</td>
<td style="text-align:right;">
4.463275
4.863381
</td>
</tr>
<tr>
<td style="text-align:left;">
Gene_e
</td>
<td style="text-align:right;">
8.773171
9.969594
</td>
<td style="text-align:right;">
7.870606
9.981812
</td>
<td style="text-align:right;">
9.411005
9.893970
</td>
</tr>
<tr>
<td style="text-align:left;">
Gene_f
</td>
<td style="text-align:right;">
10.367289
10.857767
</td>
<td style="text-align:right;">
9.596848
9.740246
</td>
<td style="text-align:right;">
12.046646
10.765082
</td>
</tr>
<tr>
<td style="text-align:left;">
Gene_g
</td>
<td style="text-align:right;">
11.189889
11.367735
</td>
<td style="text-align:right;">
9.357035
9.573956
</td>
<td style="text-align:right;">
9.693508
9.643875
</td>
</tr>
<tr>
<td style="text-align:left;">
Gene_h
</td>
<td style="text-align:right;">
10.306538
9.207311
</td>
<td style="text-align:right;">
9.007243
9.979201
</td>
<td style="text-align:right;">
8.060800
11.944548
</td>
</tr>
</tbody>
Expand Down
14 changes: 7 additions & 7 deletions docs/presentations/singlepage/introToR_Session2.html
Original file line number Diff line number Diff line change
Expand Up @@ -2390,8 +2390,8 @@ <h2>Custom function example</h2>
<span id="cb156-10"><a href="#cb156-10" tabindex="-1"></a>A <span class="ot">&lt;-</span> <span class="fu">rnorm</span>(<span class="dv">20</span>)</span>
<span id="cb156-11"><a href="#cb156-11" tabindex="-1"></a></span>
<span id="cb156-12"><a href="#cb156-12" tabindex="-1"></a><span class="fu">my_zscore</span>(<span class="at">my_number=</span>A[<span class="dv">1</span>], <span class="at">my_vector=</span>A)</span></code></pre></div>
<pre><code>## Mean is 0.0754716853091584</code></pre>
<pre><code>## [1] 0.3845519</code></pre>
<pre><code>## Mean is -0.145644086476085</code></pre>
<pre><code>## [1] -0.1490743</code></pre>
</div>
<div id="debugging-functions" class="section level2">
<h2>Debugging functions</h2>
Expand All @@ -2406,10 +2406,10 @@ <h2>Debugging functions</h2>
<h2>Custom functions and apply</h2>
<p>These custom functions can also be utilized with apply.</p>
<div class="sourceCode" id="cb160"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb160-1"><a href="#cb160-1" tabindex="-1"></a><span class="fu">sapply</span>(A, my_zscore, <span class="at">my_vector=</span>A)</span></code></pre></div>
<pre><code>## [1] 0.38455188 -0.27163340 -0.01981736 -2.03508571 -0.51014549 -0.25665908
## [7] -0.70206386 1.28986483 1.71985296 0.21156039 -1.13975061 -0.22405660
## [13] 0.72924537 0.09597399 1.47794349 -0.14790742 -1.81108984 -0.51607015
## [19] 0.96222075 0.76306586</code></pre>
<pre><code>## [1] -0.1490743 0.3543727 0.4924807 -0.1074893 -0.2796968 0.5969969
## [7] -0.2105594 0.8507932 0.4396808 -0.1006326 -0.5071011 -0.3051156
## [13] 1.4388806 -0.7706843 -2.3414674 -0.9251381 -0.5185173 0.3895672
## [19] 2.5659745 -0.9132703</code></pre>
</div>
</div>
<div id="getting-additional-libraries" class="section level1">
Expand Down Expand Up @@ -2463,7 +2463,7 @@ <h2>Sourcing scripts</h2>
}</code></pre>
<div class="sourceCode" id="cb166"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb166-1"><a href="#cb166-1" tabindex="-1"></a><span class="fu">source</span>(<span class="st">&quot;scripts/dayOfWeek.r&quot;</span>)</span>
<span id="cb166-2"><a href="#cb166-2" tabindex="-1"></a><span class="fu">dayOfWeek</span>()</span></code></pre></div>
<pre><code>## [1] &quot;Mon&quot;</code></pre>
<pre><code>## [1] &quot;Wed&quot;</code></pre>
</div>
<div id="rscript" class="section level2">
<h2>Rscript</h2>
Expand Down
48 changes: 24 additions & 24 deletions docs/presentations/slides/introToR_Session1.html
Original file line number Diff line number Diff line change
Expand Up @@ -2562,51 +2562,51 @@
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:left;"&gt; Gene_a &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 3.379567 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 5.378031 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 4.489243 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 2.336199 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 3.557950 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 3.950232 &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left;"&gt; Gene_b &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 5.089419 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 4.670953 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 4.955167 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 4.145040 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 4.247003 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 4.418649 &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left;"&gt; Gene_c &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 5.112643 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 3.365207 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 3.757280 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 3.868566 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 4.121312 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 2.813698 &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left;"&gt; Gene_d &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 3.614921 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 3.491890 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 4.079194 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 3.393549 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 5.292131 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 3.926116 &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left;"&gt; Gene_e &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 10.423628 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 9.488276 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 10.751583 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 8.804112 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 9.821501 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 10.080175 &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left;"&gt; Gene_f &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 11.483553 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 10.277398 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 9.676192 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 10.467080 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 9.144659 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 10.021364 &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left;"&gt; Gene_g &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 11.019853 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 9.692223 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 9.524622 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 8.736608 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 9.180466 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 9.696061 &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left;"&gt; Gene_h &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 7.572087 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 10.267156 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 9.204838 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 8.588106 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 10.434860 &lt;/td&gt;
&lt;td style="text-align:right;"&gt; 9.726656 &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
Expand Down
14 changes: 7 additions & 7 deletions docs/presentations/slides/introToR_Session2.html
Original file line number Diff line number Diff line change
Expand Up @@ -1388,11 +1388,11 @@
```

```
## Mean is 0.015390241677654
## Mean is -0.200928450540783
```

```
## [1] -0.4251511
## [1] -2.326341
```

---
Expand All @@ -1417,10 +1417,10 @@
```

```
## [1] -0.425151094 -0.600559946 0.732484479 -0.574525137 0.603522611
## [6] -0.528068943 0.818957786 -0.968518697 -0.001778739 1.282274807
## [11] 0.048890820 2.215323484 -0.426693449 -0.365403400 -1.191879742
## [16] -1.686932185 -1.384359171 1.229122360 0.731112221 0.492181935
## [1] -2.32634073 0.06153589 -0.41862476 0.73128524 -1.00304772 -0.03085655
## [7] 0.16367139 0.71842397 -1.43467649 0.23672918 0.98551708 -1.62177626
## [13] 0.87068011 -0.55480375 1.79419774 0.34322626 0.12973904 -0.01339867
## [19] 1.03946010 0.32905894
```


Expand Down Expand Up @@ -1515,7 +1515,7 @@
```

```
## [1] "Mon"
## [1] "Wed"
```

---
Expand Down
Binary file modified r_course/data/writeThisMultipleXLSX.xlsx
Binary file not shown.
Binary file modified r_course/data/writeThisXLSX.xlsx
Binary file not shown.
20 changes: 7 additions & 13 deletions r_course/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ <h2>Course Overview</h2>
<p><br></p>
<div id="course-integrity" class="section level3">
<h3>Course Integrity</h3>
<p><strong>This course is compiled automatically on <em>2024-07-01</em>
<p><strong>This course is compiled automatically on <em>2024-07-03</em>
</strong> <br> <a
href="https://github.com/RockefellerUniversity/Intro_To_R_1Day/actions?query=workflow%3compilation-check"><img src="https://github.com/RockefellerUniversity/Intro_To_R_1Day/workflows/compilation-check/badge.svg"></a></p>
<p><strong>The course is tested and available on MacOS, Windows and
Expand Down Expand Up @@ -514,20 +514,14 @@ <h4><strong>System Requirements</strong></h4>
<h4>Install R</h4>
<p>R can be installed from the R-project website.</p>
<p>The R website can be found here <a href="http://www.r-project.org/"
class="uri">http://www.r-project.org/</a>.</p>
<p>The download links and associated installation instructions for
multiple platforms can be found below provided by Revolution Analytics.
<a href="https://cran.revolutionanalytics.com"
class="uri">https://cran.revolutionanalytics.com</a></p>
<p>We recommend installing R 4.4.0 as this is the version used to
compile the course. Direct downloads for R 4.4.0 for the main platforms
can be found below:</p>
class="uri">http://www.r-project.org/</a>. This website has all the
latest information about R updates, conferences and installation</p>
<p>You can use this direct links to the install for each major OS:</p>
<ul>
<li><a href="https://cloud.r-project.org/bin/macosx/">Mac</a></li>
<li><a
href="https://cran.revolutionanalytics.com/bin/macosx/R-4.4.0.pkg">Mac</a></li>
<li><a
href="https://cran.revolutionanalytics.com/bin/windows/base/old/4.4.0/R-4.4.0-win.exe">Windows</a></li>
<li><a href="https://cran.revolutionanalytics.com">Linux
href="https://cloud.r-project.org/bin/windows/base/release.html">Windows</a></li>
<li><a href="https://cloud.r-project.org/bin/linux/">Linux
platforms</a></li>
</ul>
<p><br></p>
Expand Down
Loading

0 comments on commit f05ce6e

Please sign in to comment.