Skip to content

Commit

Permalink
intro mod
Browse files Browse the repository at this point in the history
  • Loading branch information
antagomir committed Jul 8, 2024
1 parent 77a87c1 commit f50bae8
Show file tree
Hide file tree
Showing 127 changed files with 9,738 additions and 12,106 deletions.
1,368 changes: 562 additions & 806 deletions docs/alpha_diversity.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
1,223 changes: 520 additions & 703 deletions docs/bioconductor.html

Large diffs are not rendered by default.

1,423 changes: 602 additions & 821 deletions docs/compositional_heatmap.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,426 changes: 590 additions & 836 deletions docs/data_manipulation.html

Large diffs are not rendered by default.

1,522 changes: 699 additions & 823 deletions docs/datacontainers.html

Large diffs are not rendered by default.

1,672 changes: 775 additions & 897 deletions docs/day2.html

Large diffs are not rendered by default.

249 changes: 223 additions & 26 deletions docs/dbrda.html

Large diffs are not rendered by default.

Binary file modified docs/dbrda_files/figure-html/fig-aitchirda-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 docs/dbrda_files/figure-html/fig-arrows-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 docs/dbrda_files/figure-html/fig-brayrda-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,398 changes: 574 additions & 824 deletions docs/differential_abundance.html

Large diffs are not rendered by default.

1,434 changes: 680 additions & 754 deletions docs/hintikkaxo_presentation.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Empty file modified docs/images/FindingPeno2.jpeg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/images/Literate_Programming_book_cover.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/images/Screenshot from 2023-07-27 18-02-19.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/images/Screenshot from 2023-07-27 18-03-25.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/images/Screenshot from 2023-07-29 17-11-27-01.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/images/Screenshot from 2023-07-29 17-13-06.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/images/Screenshot from 2023-07-31 00-08-19.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/images/Screenshot from 2023-07-31 00-14-46.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/images/Screenshot from 2023-07-31 22-00-40.png
100644 → 100755
Empty file modified docs/images/Screenshot from 2023-07-31 22-01-31.png
100644 → 100755
Empty file modified docs/images/Screenshot from 2023-07-31 22-02-16.png
100644 → 100755
Empty file modified docs/images/Screenshot from 2023-07-31 22-03-35.png
100644 → 100755
Empty file modified docs/images/Screenshot from 2023-07-31 22-04-20.png
100644 → 100755
Empty file modified docs/images/Screenshot from 2023-07-31 22-04-41.png
100644 → 100755
Empty file modified docs/images/Screenshot from 2023-07-31 22-12-25.png
100644 → 100755
Empty file modified docs/images/aka.png
100644 → 100755
Empty file modified docs/images/biocityturku_bakgrund.jpg
100644 → 100755
Empty file modified docs/images/ccby.png
100644 → 100755
Empty file modified docs/images/cropped-Turun_Yliopistosaatio_200px.jpg
100644 → 100755
Empty file modified docs/images/mia_logo.png
100644 → 100755
Empty file modified docs/images/ml4microbiome.png
100644 → 100755
Empty file modified docs/images/ml4microbiome_logo.png
100644 → 100755
Empty file modified docs/images/paste-01CE5752.png
100644 → 100755
Empty file modified docs/images/paste-092DD78B.png
100644 → 100755
Empty file modified docs/images/paste-0974625F.png
100644 → 100755
Empty file modified docs/images/paste-0C91D638.png
100644 → 100755
Empty file modified docs/images/paste-0DD2D200.png
100644 → 100755
Empty file modified docs/images/paste-14DB8F76.png
100644 → 100755
Empty file modified docs/images/paste-178A9470.png
100644 → 100755
Empty file modified docs/images/paste-1B870B03.png
100644 → 100755
Empty file modified docs/images/paste-1BE39B3A.png
100644 → 100755
Empty file modified docs/images/paste-2562BFE6.png
100644 → 100755
Empty file modified docs/images/paste-29F79604.png
100644 → 100755
Empty file modified docs/images/paste-2AD9955A.png
100644 → 100755
Empty file modified docs/images/paste-37918533.png
100644 → 100755
Empty file modified docs/images/paste-3BA50E61.png
100644 → 100755
Empty file modified docs/images/paste-562EF513.png
100644 → 100755
Empty file modified docs/images/paste-78D6AFB5.png
100644 → 100755
Empty file modified docs/images/paste-7BB0E8D8.png
100644 → 100755
Empty file modified docs/images/paste-85FC6DB9.png
100644 → 100755
Empty file modified docs/images/paste-863D0ABE.png
100644 → 100755
Empty file modified docs/images/paste-89510684.png
100644 → 100755
Empty file modified docs/images/paste-8AAEF32A.png
100644 → 100755
Empty file modified docs/images/paste-8DB25B71.png
100644 → 100755
Empty file modified docs/images/paste-8E75CB83.png
100644 → 100755
Empty file modified docs/images/paste-92ACC42B.png
100644 → 100755
Empty file modified docs/images/paste-965269D9.png
100644 → 100755
Empty file modified docs/images/paste-9EC22D90.png
100644 → 100755
Empty file modified docs/images/paste-A0B9F136.png
100644 → 100755
Empty file modified docs/images/paste-A312439C.png
100644 → 100755
Empty file modified docs/images/paste-B11EAEC2.png
100644 → 100755
Empty file modified docs/images/paste-B31FD0DB.png
100644 → 100755
Empty file modified docs/images/paste-B5BEB852.png
100644 → 100755
Empty file modified docs/images/paste-B9068498.png
100644 → 100755
Empty file modified docs/images/paste-BB617EEC.png
100644 → 100755
Empty file modified docs/images/paste-BD993C0E.png
100644 → 100755
Empty file modified docs/images/paste-C67E84BB.png
100644 → 100755
Empty file modified docs/images/paste-D240B56A.png
100644 → 100755
Empty file modified docs/images/paste-D7E05B23.png
100644 → 100755
Empty file modified docs/images/paste-D873776C.png
100644 → 100755
Empty file modified docs/images/paste-DB32EFB2.png
100644 → 100755
Empty file modified docs/images/paste-DD6C75BB.png
100644 → 100755
Empty file modified docs/images/paste-E3910F24.png
100644 → 100755
Empty file modified docs/images/paste-E3B845C5.png
100644 → 100755
Empty file modified docs/images/paste-F2F09EA8.png
100644 → 100755
Empty file modified docs/images/paste-FFF6AC22.png
100644 → 100755
Empty file modified docs/images/tengeler_alpha.png
100644 → 100755
Empty file modified docs/images/tengeler_beta.png
100644 → 100755
Empty file modified docs/images/tengeler_paper.png
100644 → 100755
Empty file modified docs/images/tengeler_timeline.png
100644 → 100755
Empty file modified docs/images/turun_yliopiston_logo.jpg
100644 → 100755
184 changes: 179 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.3.450">
<meta name="generator" content="quarto-1.4.506">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -44,7 +44,13 @@
"collapse-after": 3,
"panel-placement": "start",
"type": "textbox",
"limit": 20,
"limit": 50,
"keyboard-shortcut": [
"f",
"/",
"s"
],
"show-item-context": false,
"language": {
"search-no-results-text": "No results",
"search-matching-documents-text": "matching documents",
Expand Down Expand Up @@ -88,14 +94,17 @@ <h1 class="title">Quarto Presentations</h1>
</div>



</header>


<section id="overview" class="level2">
<h2 class="anchored" data-anchor-id="overview">Overview</h2>
<p>This website hosts quarto presentations about microbiome analysis and data integration with mia and other related packages. Our presentations were prepared for past courses and conferences and cover a broad range of topics in the scope of biological data science. Currently, you can find the following subjects:</p>
<section id="bioconductor" class="level3">
<h3 class="anchored" data-anchor-id="bioconductor">Bioconductor</h3>
<ul>
<li><a href="https://microbiome.github.io/outreach/intro.html" target="_blank">Intro</a></li>
<li><a href="https://microbiome.github.io/outreach/bioconductor.html" target="_blank">Bioconductor project</a></li>
</ul>
</section>
Expand Down Expand Up @@ -232,10 +241,9 @@ <h2 class="anchored" data-anchor-id="contributions">Contributions</h2>
// clear code selection
e.clearSelection();
});
function tippyHover(el, contentFn) {
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
const config = {
allowHTML: true,
content: contentFn,
maxWidth: 500,
delay: 100,
arrow: false,
Expand All @@ -245,8 +253,17 @@ <h2 class="anchored" data-anchor-id="contributions">Contributions</h2>
interactive: true,
interactiveBorder: 10,
theme: 'quarto',
placement: 'bottom-start'
placement: 'bottom-start',
};
if (contentFn) {
config.content = contentFn;
}
if (onTriggerFn) {
config.onTrigger = onTriggerFn;
}
if (onUntriggerFn) {
config.onUntrigger = onUntriggerFn;
}
window.tippy(el, config);
}
const noterefs = window.document.querySelectorAll('a[role="doc-noteref"]');
Expand All @@ -260,6 +277,135 @@ <h2 class="anchored" data-anchor-id="contributions">Contributions</h2>
const note = window.document.getElementById(id);
return note.innerHTML;
});
}
const xrefs = window.document.querySelectorAll('a.quarto-xref');
const processXRef = (id, note) => {
// Strip column container classes
const stripColumnClz = (el) => {
el.classList.remove("page-full", "page-columns");
if (el.children) {
for (const child of el.children) {
stripColumnClz(child);
}
}
}
stripColumnClz(note)
const typesetMath = (el) => {
if (window.MathJax) {
// MathJax Typeset
window.MathJax.typeset([el]);
} else if (window.katex) {
// KaTeX Render
var mathElements = el.getElementsByClassName("math");
var macros = [];
for (var i = 0; i < mathElements.length; i++) {
var texText = mathElements[i].firstChild;
if (mathElements[i].tagName == "SPAN") {
window.katex.render(texText.data, mathElements[i], {
displayMode: mathElements[i].classList.contains('display'),
throwOnError: false,
macros: macros,
fleqn: false
});
}
}
}
}
if (id === null || id.startsWith('sec-')) {
// Special case sections, only their first couple elements
const container = document.createElement("div");
if (note.children && note.children.length > 2) {
container.appendChild(note.children[0].cloneNode(true));
for (let i = 1; i < note.children.length; i++) {
const child = note.children[i];
if (child.tagName === "P" && child.innerText === "") {
continue;
} else {
container.appendChild(child.cloneNode(true));
break;
}
}
typesetMath(container);
return container.innerHTML
} else {
typesetMath(note);
return note.innerHTML;
}
} else {
// Remove any anchor links if they are present
const anchorLink = note.querySelector('a.anchorjs-link');
if (anchorLink) {
anchorLink.remove();
}
typesetMath(note);
return note.innerHTML;
}
}
for (var i=0; i<xrefs.length; i++) {
const xref = xrefs[i];
tippyHover(xref, undefined, function(instance) {
instance.disable();
let url = xref.getAttribute('href');
let hash = undefined;
if (url.startsWith('#')) {
hash = url;
} else {
try { hash = new URL(url).hash; } catch {}
}
if (hash) {
const id = hash.replace(/^#\/?/, "");
const note = window.document.getElementById(id);
if (note !== null) {
try {
const html = processXRef(id, note.cloneNode(true));
instance.setContent(html);
} finally {
instance.enable();
instance.show();
}
} else {
// See if we can fetch this
fetch(url.split('#')[0])
.then(res => res.text())
.then(html => {
const parser = new DOMParser();
const htmlDoc = parser.parseFromString(html, "text/html");
const note = htmlDoc.getElementById(id);
if (note !== null) {
const html = processXRef(id, note);
instance.setContent(html);
}
}).finally(() => {
instance.enable();
instance.show();
});
}
} else {
// See if we can fetch a full url (with no hash to target)
// This is a special case and we should probably do some content thinning / targeting
fetch(url)
.then(res => res.text())
.then(html => {
const parser = new DOMParser();
const htmlDoc = parser.parseFromString(html, "text/html");
const note = htmlDoc.querySelector('main.content');
if (note !== null) {
// This should only happen for chapter cross references
// (since there is no id in the URL)
// remove the first header
if (note.children.length > 0 && note.children[0].tagName === "HEADER") {
note.children[0].remove();
}
const html = processXRef(null, note);
instance.setContent(html);
}
}).finally(() => {
instance.enable();
instance.show();
});
}
}, function(instance) {
});
}
let selectedAnnoteEl;
const selectorForAnnotation = ( cell, annotation) => {
Expand Down Expand Up @@ -302,6 +448,7 @@ <h2 class="anchored" data-anchor-id="contributions">Contributions</h2>
}
div.style.top = top - 2 + "px";
div.style.height = height + 4 + "px";
div.style.left = 0;
let gutterDiv = window.document.getElementById("code-annotation-line-highlight-gutter");
if (gutterDiv === null) {
gutterDiv = window.document.createElement("div");
Expand All @@ -327,6 +474,32 @@ <h2 class="anchored" data-anchor-id="contributions">Contributions</h2>
});
selectedAnnoteEl = undefined;
};
// Handle positioning of the toggle
window.addEventListener(
"resize",
throttle(() => {
elRect = undefined;
if (selectedAnnoteEl) {
selectCodeLines(selectedAnnoteEl);
}
}, 10)
);
function throttle(fn, ms) {
let throttle = false;
let timer;
return (...args) => {
if(!throttle) { // first call gets through
fn.apply(this, args);
throttle = true;
} else { // all the others get throttled
if(timer) clearTimeout(timer); // cancel #2
timer = setTimeout(() => {
fn.apply(this, args);
timer = throttle = false;
}, ms);
}
};
}
// Attach click handler to the DT
const annoteDls = window.document.querySelectorAll('dt[data-target-cell]');
for (const annoteDlNode of annoteDls) {
Expand Down Expand Up @@ -390,4 +563,5 @@ <h2 class="anchored" data-anchor-id="contributions">Contributions</h2>




</body></html>
Loading

0 comments on commit f50bae8

Please sign in to comment.