This course focuses on the R and Python programming languages. Git will also be taught and used for the assignments. A good code editor and environment (Vscode or Rstudio) is also necessary.
Your take-off will be much easier if you can install all these on your computer before the first precept.
Python can be downloaded here. You will also need a package manager to install various packages/extensions. pip works great for Linux. anaconda is a good option for all OS.
Please check you can run a simplistic “hello, world” script on your Python installation.
Here are instructions to install R on Windows, Mac and Linux. This includes downloading R from CRAN. Linux users might install R directly with their package manager, such as apt.
Please check you can run a simplistic “hello, world” script on your Python installation.
Standard usage is to develop code in an integrated development environment (IDE), rather than a simple text editor (though some still use old school editors such as neovim and emacs). We advise to install an IDE, as they show complex code highlighting, can run and help debug code, and connects to AI and git tools.
One of the most popular IDEs is VsCode. Vscode has plugins/extensions for many languages, including those for R and Python that you should install.
Another option you can choose is Rstudio, see here for installation on all OS. Rstudio is more specific to R (and hence provides more specific tools), but also supports other languages.
You should also set up a github account and install git locally. For easier interaction with github repositories, it is also advised to setup a SSH authentification key: follow instructions here.
Precept 1: Intro to git
Precept 2 Control Flow in R and Python
Precept 3 Data IO and String Wrangling
Precept 4 Data Wrangling
Precept 5 Applying Functions
Precept 6 Intro to Plotting
Precept 7 Plotting from Scratch
Precept 8 Statistics in Python
Precept 9 Bioinformatics
Precept 10 Snakemake
Suggested reference materials
Guillaume Falmagne - g.falmagne@princeton.edu
Michelle White - mw0425@princeton.edu
Website: eeb330.github.io