Course Preparation
Things required before getting an add code
This course is designed for graduate students with core computational competence and an appropriate data set for analyses to be performed during the course. Before class starts (and add codes are distributed) the following tasks need to be completed.
Submit your github ID using this form.
Establish account on Roberts Lab (srlab) hyak account
Read: Introducing the Shell
Read: Navigating Files and Directories
Complete this bash tutorialLearn (remember) proper project (repo) structure.
Good file structure
All project files in one main folder
Subfolders (data, code, output)
Main folder is R project
Self-contained project
Use relative instead of absolute paths
Good folder & file names
Descriptive but not too long
No spaces
Consistent format
Raw data
In separate folder from cleaned data
Never change!
Each file should have metadata
Scripts with code
Relative file paths to read in and create files
Lots of comments
Order: libraries, data, user-created functions, everything else
Good variable & column names