Skip to content

Commit

Permalink
Deploying to gh-pages from @ 90e48bc 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
3mmaRand committed Nov 20, 2023
1 parent 01edd69 commit 4211b4d
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 49 deletions.
76 changes: 38 additions & 38 deletions core/week-2/workshop.html
Original file line number Diff line number Diff line change
Expand Up @@ -489,58 +489,58 @@ <h1 class="title">Workshop</h1>
<div class="sourceCode cell-code" id="cb9"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true" tabindex="-1"></a><span class="fu">ls</span> <span class="at">-l</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code>total 212
drwxr-xr-x 2 runner docker 4096 Nov 20 15:35 data
drwxr-xr-x 2 runner docker 4096 Nov 20 15:35 images
-rw-r--r-- 1 runner docker 1597 Nov 20 15:35 overview.qmd
-rw-r--r-- 1 runner docker 25383 Nov 20 15:39 study_after_workshop.html
-rw-r--r-- 1 runner docker 184 Nov 20 15:35 study_after_workshop.qmd
-rw-r--r-- 1 runner docker 70840 Nov 20 15:39 study_before_workshop.html
-rw-r--r-- 1 runner docker 4807 Nov 20 15:35 study_before_workshop.ipynb
-rw-r--r-- 1 runner docker 13029 Nov 20 15:35 study_before_workshop.qmd
-rw-r--r-- 1 runner docker 44938 Nov 20 15:35 workshop.html
-rw-r--r-- 1 runner docker 8550 Nov 20 15:35 workshop.qmd
-rw-r--r-- 1 runner docker 8564 Nov 20 15:39 workshop.rmarkdown
drwxr-xr-x 3 runner docker 4096 Nov 20 15:35 workshop_files</code></pre>
drwxr-xr-x 2 runner docker 4096 Nov 20 15:50 data
drwxr-xr-x 2 runner docker 4096 Nov 20 15:50 images
-rw-r--r-- 1 runner docker 1597 Nov 20 15:50 overview.qmd
-rw-r--r-- 1 runner docker 25383 Nov 20 15:55 study_after_workshop.html
-rw-r--r-- 1 runner docker 184 Nov 20 15:50 study_after_workshop.qmd
-rw-r--r-- 1 runner docker 70840 Nov 20 15:55 study_before_workshop.html
-rw-r--r-- 1 runner docker 4807 Nov 20 15:50 study_before_workshop.ipynb
-rw-r--r-- 1 runner docker 13029 Nov 20 15:50 study_before_workshop.qmd
-rw-r--r-- 1 runner docker 44938 Nov 20 15:50 workshop.html
-rw-r--r-- 1 runner docker 8550 Nov 20 15:50 workshop.qmd
-rw-r--r-- 1 runner docker 8564 Nov 20 15:55 workshop.rmarkdown
drwxr-xr-x 3 runner docker 4096 Nov 20 15:50 workshop_files</code></pre>
</div>
</div>
<p>You can use more than one option at once. The <code>-h</code> option stands for “human readable” and makes the file sizes easier to understand for humans:</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb11"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb11-1"><a href="#cb11-1" aria-hidden="true" tabindex="-1"></a><span class="fu">ls</span> <span class="at">-hl</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code>total 212K
drwxr-xr-x 2 runner docker 4.0K Nov 20 15:35 data
drwxr-xr-x 2 runner docker 4.0K Nov 20 15:35 images
-rw-r--r-- 1 runner docker 1.6K Nov 20 15:35 overview.qmd
-rw-r--r-- 1 runner docker 25K Nov 20 15:39 study_after_workshop.html
-rw-r--r-- 1 runner docker 184 Nov 20 15:35 study_after_workshop.qmd
-rw-r--r-- 1 runner docker 70K Nov 20 15:39 study_before_workshop.html
-rw-r--r-- 1 runner docker 4.7K Nov 20 15:35 study_before_workshop.ipynb
-rw-r--r-- 1 runner docker 13K Nov 20 15:35 study_before_workshop.qmd
-rw-r--r-- 1 runner docker 44K Nov 20 15:35 workshop.html
-rw-r--r-- 1 runner docker 8.4K Nov 20 15:35 workshop.qmd
-rw-r--r-- 1 runner docker 8.4K Nov 20 15:39 workshop.rmarkdown
drwxr-xr-x 3 runner docker 4.0K Nov 20 15:35 workshop_files</code></pre>
drwxr-xr-x 2 runner docker 4.0K Nov 20 15:50 data
drwxr-xr-x 2 runner docker 4.0K Nov 20 15:50 images
-rw-r--r-- 1 runner docker 1.6K Nov 20 15:50 overview.qmd
-rw-r--r-- 1 runner docker 25K Nov 20 15:55 study_after_workshop.html
-rw-r--r-- 1 runner docker 184 Nov 20 15:50 study_after_workshop.qmd
-rw-r--r-- 1 runner docker 70K Nov 20 15:55 study_before_workshop.html
-rw-r--r-- 1 runner docker 4.7K Nov 20 15:50 study_before_workshop.ipynb
-rw-r--r-- 1 runner docker 13K Nov 20 15:50 study_before_workshop.qmd
-rw-r--r-- 1 runner docker 44K Nov 20 15:50 workshop.html
-rw-r--r-- 1 runner docker 8.4K Nov 20 15:50 workshop.qmd
-rw-r--r-- 1 runner docker 8.4K Nov 20 15:55 workshop.rmarkdown
drwxr-xr-x 3 runner docker 4.0K Nov 20 15:50 workshop_files</code></pre>
</div>
</div>
<p>The <code>-a</code> option stands for “all” and shows us all the files, including hidden files.</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb13"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb13-1"><a href="#cb13-1" aria-hidden="true" tabindex="-1"></a><span class="fu">ls</span> <span class="at">-alh</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code>total 220K
drwxr-xr-x 5 runner docker 4.0K Nov 20 15:39 .
drwxr-xr-x 6 runner docker 4.0K Nov 20 15:39 ..
drwxr-xr-x 2 runner docker 4.0K Nov 20 15:35 data
drwxr-xr-x 2 runner docker 4.0K Nov 20 15:35 images
-rw-r--r-- 1 runner docker 1.6K Nov 20 15:35 overview.qmd
-rw-r--r-- 1 runner docker 25K Nov 20 15:39 study_after_workshop.html
-rw-r--r-- 1 runner docker 184 Nov 20 15:35 study_after_workshop.qmd
-rw-r--r-- 1 runner docker 70K Nov 20 15:39 study_before_workshop.html
-rw-r--r-- 1 runner docker 4.7K Nov 20 15:35 study_before_workshop.ipynb
-rw-r--r-- 1 runner docker 13K Nov 20 15:35 study_before_workshop.qmd
-rw-r--r-- 1 runner docker 44K Nov 20 15:35 workshop.html
-rw-r--r-- 1 runner docker 8.4K Nov 20 15:35 workshop.qmd
-rw-r--r-- 1 runner docker 8.4K Nov 20 15:39 workshop.rmarkdown
drwxr-xr-x 3 runner docker 4.0K Nov 20 15:35 workshop_files</code></pre>
drwxr-xr-x 5 runner docker 4.0K Nov 20 15:55 .
drwxr-xr-x 6 runner docker 4.0K Nov 20 15:55 ..
drwxr-xr-x 2 runner docker 4.0K Nov 20 15:50 data
drwxr-xr-x 2 runner docker 4.0K Nov 20 15:50 images
-rw-r--r-- 1 runner docker 1.6K Nov 20 15:50 overview.qmd
-rw-r--r-- 1 runner docker 25K Nov 20 15:55 study_after_workshop.html
-rw-r--r-- 1 runner docker 184 Nov 20 15:50 study_after_workshop.qmd
-rw-r--r-- 1 runner docker 70K Nov 20 15:55 study_before_workshop.html
-rw-r--r-- 1 runner docker 4.7K Nov 20 15:50 study_before_workshop.ipynb
-rw-r--r-- 1 runner docker 13K Nov 20 15:50 study_before_workshop.qmd
-rw-r--r-- 1 runner docker 44K Nov 20 15:50 workshop.html
-rw-r--r-- 1 runner docker 8.4K Nov 20 15:50 workshop.qmd
-rw-r--r-- 1 runner docker 8.4K Nov 20 15:55 workshop.rmarkdown
drwxr-xr-x 3 runner docker 4.0K Nov 20 15:50 workshop_files</code></pre>
</div>
</div>
<p>You can move about with the <code>cd</code> command, which stands for “change directory”. You can use it to move into a directory by specifying the path to the directory:</p>
Expand Down
5 changes: 1 addition & 4 deletions images/images.html
Original file line number Diff line number Diff line change
Expand Up @@ -312,16 +312,13 @@ <h1 class="title">Image Data Analysis for Group Project</h1>
<span> <span class="cn">FALSE</span>,</span>
<span> into <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html">c</a></span><span class="op">(</span><span class="st">"type"</span>, <span class="st">"conc"</span><span class="op">)</span>, </span>
<span> regex <span class="op">=</span> <span class="st">"([^_]{2,3})_(.+)"</span><span class="op">)</span> </span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-error">
<pre><code>Error in extract(mutate(mutate(tracking, file = str_remove(file, ".txt")), : could not find function "extract"</code></pre>
</div>
</div>
<p><code>[^_]{2,3}</code> matches two or three characters that are not <code>_</code> at the start of the string (<code>^</code>)</p>
<p><code>.+</code> matches one or more characters. The <code><a href="https://tidyr.tidyverse.org/reference/extract.html">extract()</a></code> function puts the first match into the first column, <code>type</code>, and the second match into the second column, <code>conc</code>. The <code>remove = FALSE</code> argument means the original column is kept.</p>
<p>You now have a dataframe with all the tracking data which is relatively easy to summarise and plot using tools you know.</p>
<p>There is an example RStudio project containing this code here: <a href="https://github.com/3mmaRand/tips">tips</a>. You can download and open directly in RStudio using the following code. Since this is an RStudio Project, do not run the code from inside a project:</p>
<div class="cell">
<div class="sourceCode" id="cb6"><pre class="downlit sourceCode r code-with-copy"><code class="sourceCode R"><span><span class="fu">usethis</span><span class="fu">::</span><span class="fu">use_course</span><span class="op">(</span><span class="st">"3mmaRand/tips"</span><span class="op">)</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="sourceCode" id="cb5"><pre class="downlit sourceCode r code-with-copy"><code class="sourceCode R"><span><span class="fu">usethis</span><span class="fu">::</span><span class="fu">use_course</span><span class="op">(</span><span class="st">"3mmaRand/tips"</span><span class="op">)</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>


Expand Down
Binary file modified omics/week-5/figures/prog-hspc-volcano.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions omics/week-5/workshop.html

Large diffs are not rendered by default.

Binary file modified omics/week-5/workshop_files/figure-html/unnamed-chunk-33-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified omics/week-5/workshop_files/figure-html/unnamed-chunk-65-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4211b4d

Please sign in to comment.