An R project template to write scientific manuscripts reproducibly by integrating data, code, text and citations
About the project: - this is a template repository with an R project that the Jékely lab uses to start to write new research papers.
Add the specific information about your paper here:
This repository contains the data and code for our paper:
Authors, (YYYY). Title of your paper goes here. Name of journal/book https://doi.org/xxx/xxx
Our pre-print is online here:
Authors, (YYYY). Title of your paper goes here. Name of journal/book, Accessed 24 Apr 2024. Online at https://doi.org/xxx/xxx
Please cite this compendium as:
Authors, (2024). Compendium of R code and data for Title of your paper goes here. Accessed 24 Apr 2024. Online at https://doi.org/xxx/xxx
The project directory contains:
-
📁 manuscript: Quarto source document for manuscript. Includes text, references and inserts the latest version of the figures from the /figures folder. There is also a rendered html version,
Manuscript.html
, suitable for reading. -
📁 data: Data used in the analysis.
-
📁 figures: Plots and other illustrations
-
📁 supplements: Supplementary materials including notes and other documents prepared and collected during the analysis.
-
📁 source_data: Source data files associated with each figure containing all data points that have been plotted in the figure. These files should be submitted together with the paper.
This research compendium has been developed using the statistical programming language R. To work with the compendium, you will need installed on your computer the R software itself and optionally RStudio Desktop.
If you would like to use the template, you could open Rstudio in your computer, then go to File > New Project > Version Control > Git. Under repository URL add the URL of this page https://github.com/JekelyLab/new_paper_template and save it in a local folder.
The R project will live in the folder (as working directory) where the new_paper_template.Rproj file is saved. All other files and directories will be accessed relative to this working directory. This way the project is portable and self-contained.
The working directory contains this README file, a LICENCE file, a CITATION.cff file, the .gitignore file and the R project file. You can update these files to fit your project.
Text, figures, code, data : CC-BY-4.0
This project is modified after https://annakrystalli.me/rrresearch/10_compendium.html.