This repository contains the figures generated for the manuscript publication of RADSuite.
To clone this repository to your device, you'll need access to Github's Large File Storage. If you don't already have this downloaded, first download it at https://git-lfs.com/
Next, run this command in a terminal such as git bash:
# shell
git lfs install
You should now be ready to clone the repository.
After all dependencies have been installed, set the working directory to the figures directory:
# R
setwd("your/path/to/figures")
Figure 2 has three package dependencies: Biostrings, tidyverse, and here. If any of these dependencies are not installed, run the corresponding line in the R command line to install them:
# R
install.packages("BiocManager")
BiocManager::install("Biostrings")
# R
install.packages("tidyverse")
# R
install.packages("here")
# R
install.packages("data.table")
# R
install.packages("ggtext")
Because figure 1 contains no numerical data, it was created manually using the draw.io free software. A copy of the figure has been included here for completeness.
Figure 2 can be generated by first running the rscript "access_data.r" and then "create_figure_2.r". Both of the files needed for creating figure 2 can be found in the figure-2 directory.
To run a file in RStudio, open the file by going to File -> Open File and selecting the correct file, then use the "Source" button in the top right corner of the file window in RStudio.
First, clone this repository to your device.
After all dependencies have been installed, figure 3 can be generated by running these rscripts in this order: "load_data.r", "figure_3_presentable.R".
Things to try:
Check your working directory is the figures/ directory you cloned from Github.
# R
getwd()
If it's not the figures/ directory, use the setwd() function to change your working directory to be figures/.
Restart RStudio: Sometimes, installing the dependencies requires a restart to allow the here package to correctly locate the files.