Scripts and specific analyses for ACE
These scripts rely on the aceR package, which you can read about here
Installation:
- Install RStudio
- Install git. On mac, simply open your Terminal app, and type
git
on the command line and press enter. Your computer will then walk you through the steps to install it. - In the command line, navigate to the folder which you want to
AceScripts
to live. For example,cd ~/Desktop
- Run
git clone https://github.com/gazzlab/AceScripts.git
This will create a new AceScripts folder in the directory you're in - Open
AceScripts.Rproj
in RStudio - Install the
aceR
library. Run these 2 instructions in the R console:
install.packages("devtools")
devtools::install_github("josegallegos07/aceR")
Running:
- Whenever you make a change within the
R
folder, make sure you runBuild and Reload
under theBuild
menu before running code - There is a
test_script.R
in thescripts
folder, this is expecting to run on Seacrest data that sits on the Desktop. TODO: Add in some example/dummy data within the project so anyone can have a sanity check run without having to need a particular data set in some particular folder on their computer