Supporting repository for the stability manuscript. The reporsitory contains code to generate figures and correspdoning statistics where needed.
Currently, generated figures are located in the output
folder.
To regenerate the figures, first step would be to downloaded necessary data with the helper script.
get_data.sh
script is here to access the data used in the work. Example usage:
git clone https://github.com/melonheader/stability---figures.git
cd stability---figures
bash get_data.sh -o ./
Running the entirety of R notebook ./src/code.RMD
will save all figures in the ./output
folder.
Short descriptions for the outpout could be found above code-chunks in the same notebook.
Opening the repository as an Rproject is recommended.
Currently, the state of the project's libraries is saved with renv
R package.
To restore the packages with the same versions used in the initial analysis one can run:
renv::restore()
in the beginning of the ./src/code.RMD notebook.