128 lines
4.2 KiB
HTML
128 lines
4.2 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head>
|
||
<title>Data organization</title>
|
||
|
||
<meta charset="utf-8">
|
||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
|
||
|
||
<!-- Original reveal JS stylesheets-->
|
||
<link rel="stylesheet" href="../reveal.js/dist/reset.css">
|
||
<link rel="stylesheet" href="../reveal.js/dist/reveal.css">
|
||
<link rel="stylesheet" href="../reveal.js/dist/theme/beige.css">
|
||
<!-- custom styles, e.g., imgcredit -->
|
||
<link rel="stylesheet" href="../custom/css/main-no-copy.css">
|
||
<!-- Used for printing PDFs (append ?print-pdf to URL in browser)-->
|
||
<script src="../custom/js/printpdf.js"></script>
|
||
<!-- Theme used for syntax highlighted code -->
|
||
<link rel="stylesheet" href="../reveal.js/plugin/highlight/monokai.css">
|
||
</head>
|
||
<body>
|
||
|
||
|
||
<div class="reveal">
|
||
<div class="slides">
|
||
|
||
<section>
|
||
<section data-markdown><script type="text/template">
|
||
## Objective
|
||
|
||
Reproduce a real paper, from empirical data to manuscript PDF
|
||
|
||
<!-- .element: width="100%" -->
|
||
|
||
<note>Dar, A. H., Wagner, A. S. & Hanke, M. (2020). REMoDNaV: Robust Eye-Movement Classification for Dynamic Stimulation. Behavior Research Methods, 53, 399–414. https://doi.org/10.3758/s13428-020-01428-x</note>
|
||
</script></section>
|
||
|
||
<section data-markdown><script type="text/template">
|
||
## All there is to reproduce<!-- .element: style="margin-top:-50px" -->
|
||
|
||
- Clone the dataset with the paper
|
||
```sh
|
||
datalad clone https://github.com/psychoinformatics-de/paper-remodnav.git
|
||
```
|
||
<!-- .element: style="width:100%" -->
|
||
|
||
- Use a file manager to take a look at the content
|
||
- `main.tex`: the manuscript in LaTeX format
|
||
- `img`: all figures in SVG format this directory
|
||
- `results_def.tex`: all statistics reported in the paper
|
||
|
||
- Use DataLad to get an idea about the dataset setup
|
||
```sh
|
||
cd paper-remodnav
|
||
datalad status --annex availability
|
||
datalad subdatasets
|
||
```
|
||
|
||
- Reproduce all figures and statistics reported in the paper
|
||
```sh
|
||
# first downloads and then processes 1GB of eye-tracking data
|
||
datalad rerun results-containerized
|
||
```
|
||
|
||
- The last step requires Docker.
|
||
Verify with ``docker ps``. It also requires the `datalad-containers` extension package. Add to the environment like `datalad-next`.<!-- .element: style="text-align:left;margin-top:-20px;margin-bottom:-20px" -->
|
||
</script></section>
|
||
|
||
<section data-markdown><script type="text/template">
|
||
## Inspect the reproduced paper
|
||
- Verify that everything was reproduced
|
||
```sh
|
||
datalad status
|
||
gitk
|
||
|
||
- Use `gitk` to find the three key pieces that enabled reproduction
|
||
- the `results-containerized` tag, and the associated messages (notice the cryptographic signature)
|
||
- the datalad-containers setup for `docker-make` (`367bbeea`)
|
||
- the provenance record for building the container image itself (`3dd49e36`), and its recipe
|
||
|
||
- Build the manuscript PDF
|
||
```sh
|
||
datalad containers-run -n docker-make main.pdf
|
||
```
|
||
|
||
- Compare against https://doi.org/10.3758/s13428-020-01428-x</note>
|
||
</script></section>
|
||
</section>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<script src="../reveal.js/dist/reveal.js"></script>
|
||
<script src="../reveal.js/plugin/notes/notes.js"></script>
|
||
<script src="../reveal.js/plugin/markdown/markdown.js"></script>
|
||
<script src="../reveal.js/plugin/highlight/highlight.js"></script>
|
||
<script>
|
||
// Full list of configuration options available at:
|
||
// https://revealjs.com/config/
|
||
Reveal.initialize({
|
||
|
||
// The "normal" size of the presentation, aspect ratio will be preserved
|
||
// when the presentation is scaled to fit different resolutions. Can be
|
||
// specified using percentage units.
|
||
width: 1280,
|
||
height: 960,
|
||
|
||
// Factor of the display size that should remain empty around the content
|
||
margin: 0.1,
|
||
|
||
// Bounds for smallest/largest possible scale to apply to content
|
||
minScale: 0.2,
|
||
maxScale: 1.0,
|
||
|
||
controls: true,
|
||
progress: true,
|
||
history: true,
|
||
center: true,
|
||
|
||
transition: 'slide', // none/fade/slide/convex/concave/zoom
|
||
|
||
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
|
||
});
|
||
|
||
</script>
|
||
</body>
|
||
</html>
|