This repository contains data and R code which are supplements to:
Paper Title, by Author , Author , and Author , (20XX)
Please cite that paper, when referring to this work. Please also cite the permanent archive of repository (Zenodo reference (https://doi.org/%5BZENODO_DOI%5D) when reusing or referring directly to data and code.
data/
contains data from the study and a data dictionary describing all variables.R/
contains functions used in this analysis.reports/
contains R Markdown/Quarto reports generated in the analysisoutputs/
contains figures and other outputs- This project uses the
{targets} framework to
organize build steps for analysis pipeline. The steps are defined in
the
_targets.R
file and the workflow can be executed by runningrun.R
viasource("run.R")
in your R terminal orRscript run.R
in your system shell. The schematic figure below summarizes the steps. (The figure is generated usingmermaid.js
syntax and should display as a graph on GitHub. It can also be viewed by pasting the code into https://mermaid.live.)
graph LR
subgraph Project Workflow
direction LR
x835f456db5951df5(["all_plot_files"]):::skipped --> xbda0fd67e19f73bc(["outputs_readme"]):::built
x07b56d1fbca21cf3(["summarized_quantities"]):::skipped --> xbda0fd67e19f73bc(["outputs_readme"]):::built
x9e3eef4eeb77d655(["report_template"]):::skipped --> x9e3eef4eeb77d655(["report_template"]):::skipped
end
linkStyle 0 stroke-width:0px;
- This project was built with R version 4.2.2 (2022-10-31). This project
uses the {renv} framework to record
R package dependencies and versions. Packages and versions used are
recorded in
renv.lock
and code used to manage dependencies is inrenv/
and other files in the root project directory. On starting an R session in the working directory, runrenv::restore()
to install R package dependencies.
Please note that this project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.