Skip to content

Commit

Permalink
Deploying to gh-pages from @ e699a16 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
3mmaRand committed Nov 6, 2024
1 parent 850c84c commit d187890
Show file tree
Hide file tree
Showing 12 changed files with 72 additions and 65 deletions.
70 changes: 35 additions & 35 deletions core/week-2-old/workshop.html
Original file line number Diff line number Diff line change
Expand Up @@ -322,55 +322,55 @@ <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 152
drwxr-xr-x 2 runner docker 4096 Nov 6 09:47 data
drwxr-xr-x 2 runner docker 4096 Nov 6 09:47 images
-rw-r--r-- 1 runner docker 1597 Nov 6 09:47 overview.qmd
-rw-r--r-- 1 runner docker 22717 Nov 6 09:52 study_after_workshop.html
-rw-r--r-- 1 runner docker 184 Nov 6 09:47 study_after_workshop.qmd
-rw-r--r-- 1 runner docker 4807 Nov 6 09:47 study_before_workshop.ipynb
-rw-r--r-- 1 runner docker 13029 Nov 6 09:47 study_before_workshop.qmd
-rw-r--r-- 1 runner docker 58063 Nov 6 09:47 workshop.html
-rw-r--r-- 1 runner docker 8550 Nov 6 09:47 workshop.qmd
-rw-r--r-- 1 runner docker 8577 Nov 6 09:52 workshop.rmarkdown
drwxr-xr-x 3 runner docker 4096 Nov 6 09:47 workshop_files</code></pre>
drwxr-xr-x 2 runner docker 4096 Nov 6 15:29 data
drwxr-xr-x 2 runner docker 4096 Nov 6 15:29 images
-rw-r--r-- 1 runner docker 1597 Nov 6 15:29 overview.qmd
-rw-r--r-- 1 runner docker 22717 Nov 6 15:34 study_after_workshop.html
-rw-r--r-- 1 runner docker 184 Nov 6 15:29 study_after_workshop.qmd
-rw-r--r-- 1 runner docker 4807 Nov 6 15:29 study_before_workshop.ipynb
-rw-r--r-- 1 runner docker 13029 Nov 6 15:29 study_before_workshop.qmd
-rw-r--r-- 1 runner docker 58063 Nov 6 15:29 workshop.html
-rw-r--r-- 1 runner docker 8550 Nov 6 15:29 workshop.qmd
-rw-r--r-- 1 runner docker 8577 Nov 6 15:34 workshop.rmarkdown
drwxr-xr-x 3 runner docker 4096 Nov 6 15:29 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 152K
drwxr-xr-x 2 runner docker 4.0K Nov 6 09:47 data
drwxr-xr-x 2 runner docker 4.0K Nov 6 09:47 images
-rw-r--r-- 1 runner docker 1.6K Nov 6 09:47 overview.qmd
-rw-r--r-- 1 runner docker 23K Nov 6 09:52 study_after_workshop.html
-rw-r--r-- 1 runner docker 184 Nov 6 09:47 study_after_workshop.qmd
-rw-r--r-- 1 runner docker 4.7K Nov 6 09:47 study_before_workshop.ipynb
-rw-r--r-- 1 runner docker 13K Nov 6 09:47 study_before_workshop.qmd
-rw-r--r-- 1 runner docker 57K Nov 6 09:47 workshop.html
-rw-r--r-- 1 runner docker 8.4K Nov 6 09:47 workshop.qmd
-rw-r--r-- 1 runner docker 8.4K Nov 6 09:52 workshop.rmarkdown
drwxr-xr-x 3 runner docker 4.0K Nov 6 09:47 workshop_files</code></pre>
drwxr-xr-x 2 runner docker 4.0K Nov 6 15:29 data
drwxr-xr-x 2 runner docker 4.0K Nov 6 15:29 images
-rw-r--r-- 1 runner docker 1.6K Nov 6 15:29 overview.qmd
-rw-r--r-- 1 runner docker 23K Nov 6 15:34 study_after_workshop.html
-rw-r--r-- 1 runner docker 184 Nov 6 15:29 study_after_workshop.qmd
-rw-r--r-- 1 runner docker 4.7K Nov 6 15:29 study_before_workshop.ipynb
-rw-r--r-- 1 runner docker 13K Nov 6 15:29 study_before_workshop.qmd
-rw-r--r-- 1 runner docker 57K Nov 6 15:29 workshop.html
-rw-r--r-- 1 runner docker 8.4K Nov 6 15:29 workshop.qmd
-rw-r--r-- 1 runner docker 8.4K Nov 6 15:34 workshop.rmarkdown
drwxr-xr-x 3 runner docker 4.0K Nov 6 15:29 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 160K
drwxr-xr-x 5 runner docker 4.0K Nov 6 09:52 .
drwxr-xr-x 8 runner docker 4.0K Nov 6 09:52 ..
drwxr-xr-x 2 runner docker 4.0K Nov 6 09:47 data
drwxr-xr-x 2 runner docker 4.0K Nov 6 09:47 images
-rw-r--r-- 1 runner docker 1.6K Nov 6 09:47 overview.qmd
-rw-r--r-- 1 runner docker 23K Nov 6 09:52 study_after_workshop.html
-rw-r--r-- 1 runner docker 184 Nov 6 09:47 study_after_workshop.qmd
-rw-r--r-- 1 runner docker 4.7K Nov 6 09:47 study_before_workshop.ipynb
-rw-r--r-- 1 runner docker 13K Nov 6 09:47 study_before_workshop.qmd
-rw-r--r-- 1 runner docker 57K Nov 6 09:47 workshop.html
-rw-r--r-- 1 runner docker 8.4K Nov 6 09:47 workshop.qmd
-rw-r--r-- 1 runner docker 8.4K Nov 6 09:52 workshop.rmarkdown
drwxr-xr-x 3 runner docker 4.0K Nov 6 09:47 workshop_files</code></pre>
drwxr-xr-x 5 runner docker 4.0K Nov 6 15:34 .
drwxr-xr-x 8 runner docker 4.0K Nov 6 15:34 ..
drwxr-xr-x 2 runner docker 4.0K Nov 6 15:29 data
drwxr-xr-x 2 runner docker 4.0K Nov 6 15:29 images
-rw-r--r-- 1 runner docker 1.6K Nov 6 15:29 overview.qmd
-rw-r--r-- 1 runner docker 23K Nov 6 15:34 study_after_workshop.html
-rw-r--r-- 1 runner docker 184 Nov 6 15:29 study_after_workshop.qmd
-rw-r--r-- 1 runner docker 4.7K Nov 6 15:29 study_before_workshop.ipynb
-rw-r--r-- 1 runner docker 13K Nov 6 15:29 study_before_workshop.qmd
-rw-r--r-- 1 runner docker 57K Nov 6 15:29 workshop.html
-rw-r--r-- 1 runner docker 8.4K Nov 6 15:29 workshop.qmd
-rw-r--r-- 1 runner docker 8.4K Nov 6 15:34 workshop.rmarkdown
drwxr-xr-x 3 runner docker 4.0K Nov 6 15:29 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
55 changes: 31 additions & 24 deletions core/week-6/workshop.html
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ <h2 id="toc-title">On this page</h2>
<li><a href="#start-date-last-updated-date-contact-information" id="toc-start-date-last-updated-date-contact-information" class="nav-link" data-scroll-target="#start-date-last-updated-date-contact-information">Start date, last updated date, contact information</a></li>
<li><a href="#description-of-project-organisation" id="toc-description-of-project-organisation" class="nav-link" data-scroll-target="#description-of-project-organisation">Description of Project organisation</a></li>
<li><a href="#software-requirements" id="toc-software-requirements" class="nav-link" data-scroll-target="#software-requirements">Software requirements</a></li>
<li><a href="#data-provenance" id="toc-data-provenance" class="nav-link" data-scroll-target="#data-provenance">Data provenance</a></li>
<li><a href="#data-description" id="toc-data-description" class="nav-link" data-scroll-target="#data-description">Data description</a></li>
<li><a href="#instructions-for-use" id="toc-instructions-for-use" class="nav-link" data-scroll-target="#instructions-for-use">Instructions for use</a></li>
</ul></li>
<li><a href="#what-should-be-in-supporting-information" id="toc-what-should-be-in-supporting-information" class="nav-link" data-scroll-target="#what-should-be-in-supporting-information">What should be in Supporting information</a></li>
Expand Down Expand Up @@ -315,7 +315,7 @@ <h1 class="title">Workshop</h1>
<h1>Introduction</h1>
<section id="session-overview" class="level2">
<h2 class="anchored" data-anchor-id="session-overview">Session overview</h2>
<p>In this workshop</p>
<p>In this workshop we will consider how to document and curate reproducible data analyses. You will add a README to your project and start to populate it. This will include finding out how to find the software you are using.</p>
</section>
</section>
<section id="documentation" class="level1">
Expand All @@ -329,13 +329,19 @@ <h2 class="anchored" data-anchor-id="non-scripted-parts-of-the-analysis">Non-scr
<p>Non-scripted parts of the analysis such as manual data cleaning or using software that does not have a script to analyse data presented in the report should be documented. This includes the steps taken, parameter settings and the decisions made. It need not be written as a narrative - you can use bullet points and be concise.</p>
<p>🎬 Go through any code you have written and edit your comments.</p>
<p>🎬 Make a text file for each non-scripted part of the analysis and document the steps taken, parameter settings and decisions made. You likely will not be able to complete now where you will be analysing data in semester 2, but you can write down “place holders” where possible. For example, in using Fiji to analyse images:</p>
<pre><code>```
Images were converted to:
Manual cropping:
Projection type used:
etc

```</code></pre>
<div class="callout callout-style-simple callout-note no-icon callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon no-icon"></i>
</div>
<div class="callout-title-container flex-fill">
image_processing_in_fiji.txt
</div>
</div>
<div class="callout-body-container callout-body">
<p>Images were converted to: Manual cropping: Projection type used: etc</p>
</div>
</div>
</section>
<section id="readme-files" class="level2">
<h2 class="anchored" data-anchor-id="readme-files">README files</h2>
Expand All @@ -348,43 +354,44 @@ <h2 class="anchored" data-anchor-id="what-should-be-in-a-readme">What should be
<li><p>Start date, last updated date, contact information</p></li>
<li><p>Description of Project organisation</p></li>
<li><p>Software requirements</p></li>
<li><p>Data provenance</p></li>
<li><p>Data description</p></li>
<li><p>Instructions for use</p></li>
</ul>
<section id="project-title-and-description" class="level3">
<h3 class="anchored" data-anchor-id="project-title-and-description">Project title and description</h3>
<p>The title should be descriptive and concise. It does not have to match the title of the report but why give yourself more thinking!</p>
<p>The description should be a brief summary of the project. It should include the aim of the project and the methods used. It should be written in plain language so that someone who is not familiar with the field can understand it. It is likely to be similar to a report abstract but with less emphasis on introduction/background and discussion and more detail on the the methods.</p>
</section>
<section id="start-date-last-updated-date-contact-information" class="level3">
<h3 class="anchored" data-anchor-id="start-date-last-updated-date-contact-information">Start date, last updated date, contact information</h3>
<p><em>TODO</em></p>
<p>Ideally, a summary of changes with the date</p>
<p>We date our work so others know how old it is and when it was last updated. The very best READMEs are updated every time the project is updated so there is a “change log” at the top of the file. This is a list of changes made to the project with the date they were made. This especially useful in collaborative projects when you are not using a version control system. Sometimes, the change log is in a separate file called <code>CHANGELOG.md</code>. or similar.</p>
</section>
<section id="description-of-project-organisation" class="level3">
<h3 class="anchored" data-anchor-id="description-of-project-organisation">Description of Project organisation</h3>
<p><em>TODO</em></p>
<p>Your aim is to organise your project and name files and files so that the organisation is clear to someone who has never seen it before. You are are aiming for “speaks for itself” organisation. However, you still need to give an overview of the organisation in the README. This should include the names of the folders and what is in them. You can also include a diagram of the project organisation if you like. Make sure it is easy for readers to distinguish between code, data, and outputs. Also explain your file naming convention along with any abbreviations or codes you have used.</p>
</section>
<section id="software-requirements" class="level3">
<h3 class="anchored" data-anchor-id="software-requirements">Software requirements</h3>
<p><em>TODO</em></p>
<p>There are packages that give session information in R <strong><code>sessioninfo</code></strong> <span class="citation" data-cites="sessioninfo">(<a href="#ref-sessioninfo" role="doc-biblioref">Wickham et al. 2021</a>)</span> and Python <span class="citation" data-cites="ostblomjoel2019">(<a href="#ref-ostblomjoel2019" role="doc-biblioref">Ostblom, Joel 2019</a>)</span></p>
<p>R:</p>
<p>You should list the software you used in your project. This should include the version of the software you used. This is important for reproducibility.</p>
<p>There are packages that give session information in R and Python</p>
<p>R: <strong><code>sessioninfo</code></strong> <span class="citation" data-cites="sessioninfo">(<a href="#ref-sessioninfo" role="doc-biblioref">Wickham et al. 2021</a>)</span></p>
<p><code>sessioninfo::session_info()</code></p>
<p>Python:</p>
<p>Python: <strong><code>session_info</code></strong> <span class="citation" data-cites="ostblomjoel2019">(<a href="#ref-ostblomjoel2019" role="doc-biblioref">Ostblom, Joel 2019</a>)</span></p>
<p><code>import session_info</code></p>
<p><code>session_info.show()</code></p>
<p>Fiji:</p>
<p><a href="https://imagej.net/contribute/citing">Cite</a></p>
</section>
<section id="data-provenance" class="level3">
<h3 class="anchored" data-anchor-id="data-provenance">Data provenance</h3>
<p><em>TODO</em></p>
<section id="data-description" class="level3">
<h3 class="anchored" data-anchor-id="data-description">Data description</h3>
<p>You should describe all the data used in the project. This should include where the data came from, how it was collected, and any processing that was done to it. You may need to include links to the data sources. Include a “data dictionary” which describes the variables in the data and what they mean. This is especially important since most variable names are abbreviations or codes.</p>
</section>
<section id="instructions-for-use" class="level3">
<h3 class="anchored" data-anchor-id="instructions-for-use">Instructions for use</h3>
<p><em>TODO</em></p>
<p>The last part of the README should be instructions for how to use it. You want to describe to reader what they need to do to recreate the results you present in your report. This should include:</p>
<ul>
<li><p>Instructions run the code, build reports, and reproduce the figures etc</p></li>
<li><p>Where to find the data, outputs</p></li>
<li><p>Brief description of the code structure especially if you have used a a mix of languages and scripts</p></li>
<li><p>Instructions to run the code and reproduce the figures or other outputs in the report</p></li>
<li><p>Any other information that needed to understand and recreate the work</p></li>
</ul>
<p>🎬 Write a README file for your project.</p>
Expand All @@ -395,7 +402,7 @@ <h2 class="anchored" data-anchor-id="what-should-be-in-supporting-information">W
<p>All the inputs and outputs of the work</p>
<ul>
<li><p>Original data or instructions/links to obtain the data. This includes <strong>all</strong> data in the report such as images, not just the numerical data</p></li>
<li><p>Code.</p></li>
<li><p>Code</p></li>
<li><p>Instructions for non-scripted parts of the analysis.</p></li>
<li><p>Anything generated from the code such as processed data and figures.</p></li>
<li><p>Anything generated from non-scripted parts of the analysis such as processed data and figures.</p></li>
Expand Down
Loading

0 comments on commit d187890

Please sign in to comment.