2:6)**3 (
[1] 8 27 64 125 216
Quarto
Rworkshop
Tuesday, 6 February 2024
So you run a computational workflow to ensure reproducibility and then type up the results?
knitr
<h1></h1>
in HTMLHTML example
<!DOCTYPE html>
<html>
<body>
<h1>This is a heading</h1>
<p>This is some text in a paragraph.</p>
</body>
</html>
#
)Markdown
# This is a heading
This is some text in a paragraph.
#
, ##
, ###
…**
This will be bold**
)*
This will be italic*
)http://example.com
is auto-linked[description](http://example.com)
![](path/to/image.jpg)
code
(`coding stuff`
)
```
This is *verbatim* code
# Even headers are not interpreted
```
rendered as:
This is *verbatim* code
# Even headers are not interpreted
revealjs
allows to create presentationsThe swiss set has `r nrow(swiss)` rows.
is rendered as:
The swiss set has 47 rows.
Inline foot notes^[This is the foot note].
$$
\phi = \frac{1+\sqrt{5}}{2}
$$
is rendered as: \[ \phi = \frac{1+\sqrt{5}}{2} \]
This appears in $\phi = (1+\sqrt{5})/2$ text.
This appears in \(\phi = (1+\sqrt{5})/2\) text.
The most common open format for references.
BibTeX example
@article{gerard2018,
author = {Gérard, Deborah and Schmidt, Florian and Ginolhac, Aurélien and Schmitz, Martine and Halder, Rashi and Ebert, Peter and Schulz, Marcel H and Sauter, Thomas and Sinkkonen, Lasse},
title = "{Temporal enhancer profiling of parallel lineages identifies AHR and GLIS1 as regulators of mesenchymal multipotency}",
journal = {Nucleic Acids Research},
volume = {47},
number = {3},
pages = {1141-1163},
year = {2018},
month = {12},
issn = {0305-1048},
doi = {10.1093/nar/gky1240},
url = {https://doi.org/10.1093/nar/gky1240},
eprint = {https://academic.oup.com/nar/article-pdf/47/3/1141/27897368/gky1240.pdf},
}
bibliography: mybib.bib
@gerard2018
in the body of the manuscript.This will generate a reference in the text and include a reference section at the end of your document.
Example
---
title: "Our research"
format: html
bibliography: mybib.bib
csl: nature.csl
---
ChiP-seq peaks were discovered[@gerad2018].
Aurélien Ginolhac (Uni Luxembourg)
More in the official Quarto Presentation demo and available code
Thank you for your attention!