Learning to Code

Edit this page


Options for downloading programs

  1. You can download and install on your computer

  2. You can use NU’s Open On Demand for R Studio, command line, and python, and more!

Learning R

  1. Follow the instructions for downloading R and R studio in this syllabus (if you scroll down)

  2. Start with this great introduction to R and R studio and data science with R. Start with the first 3 chapters.

  3. After you get a handle on R, start using swirl. It’s an interactive learning environment Visit this site for an overview of swirl Then visit this site for an overview of courses

I recommend starting with the “R programming E” course

library(swirl)
install_course("R programming E")
swirl()
  1. After you finish the above steps, it’s time to review what you know with your advisor and discuss the best way to build your skills based on your goals. Next steps may include:

Learning the command line

  1. The first hurdle might be what kind of computer you have. If you have a Mac, use the Terminal. If you have a PC, google “use the command line on a PC”. The command line functions (and how well they work) might vary a bit among platforms.

  2. Get started with Software Carpentry’s The Unix Shell

  3. I also like the book Practical Computing for Biologists (a book you have to buy)

Learning Python

  1. On a mac, I recommend downloading Anaconda. I don’t know about running python on a PC.

  2. This free python textbook is the best https://python-textbok.readthedocs.io/en/1.0/Python_Basics.html

  3. This is a great resource for learning python, but the courses are not free: (https://pythonforbiologists.com/)[https://pythonforbiologists.com/]

    • In the menu, under training courses, there is a lot of options

    • I bought the book “Introduction to Python for Biologists” and went through it myself

  4. Here are some resources I have yet to vet

  5. learning aspects of python based around Harry Potter examples (they changed names to avoid copyright problems). Note the GitHub page has link to blog posts that walk through the code. https://github.com/zotroneneis/magical_universe Here is the podcast about this, lots of other cool topics too. https://talkpython.fm/episodes/show/186/100-days-of-python-in-a-magical-universe

Learning Bioinformatics

  1. Vince Buffalo’s Bioinformatics Data Skills

Learning Machine Learning

https://christophm.github.io/interpretable-ml-book/ https://www.fast.ai/

https://course.fast.ai/start_colab

Learning SLiM

http://benhaller.com/workshops/workshops.html

Advanced concepts

Interactive vignettes for machine learning and stats

Making beautiful networks

Making Maps in R

Data Carpentry Geospatial Materials Introduction to raster and vector data

GG ocean maps beautiful ocean maps.

  • For shallow bathymetries, the default is not great. Scroll down to the advanced data and see “bathymetries” and how to set the depths you want. You save the raster file, then you have to do the same thing for your land data.

Basic intro to maps in R

GG plot maps - molecular ecologist

Other

https://github.com/thais-neu/Thais-learning-code