Github
in Rstudio
handout: https://nhm-stars.github.io/materials/day04/collab_gh_intro.html
In this session, we are going to get you started with using version control from within RStudio.
The material is self-paced and includes a worked-example. It is suggested that you work through the sections in order.
In this exercise, each participant will fork a github repo, and contribute a file required to simulate the evolutionary trajectory of an imaginary species’ body size.
We’ll use github to collate all species files and plot them all up together at the end! We’ll also discover the skull and beak shapes associated with each simulated species size.
Wikipedia’s Page history
"The need for a logical way to organize and control revisions has existed for almost as long as writing has existed, but revision control became much more important, and complicated, when the era of computing began."
can be overwhelming
demands for increased openness, transparency & reproducibility
push to harness the power of the internet
class: inverse, center, middle
*** |
---|
- ideal for managing the full suite of research outputs such as datasets, statistical code, figures, lab notes, and manuscripts.
- supports peer review, commenting, and discussion.
- Diverse range of efforts, from individual to large bioinformatics projects, laboratory repositories, as well as global collaborations have found a home on GitHub
class: inverse, center, middle
centralising information e.g. weecology / “Nine simple ways to make it easier to (re)use your data” paper
Practical adapted from Code Cafe Style tutorial by Mike Croucher that will get you set up with all required software and able to link rstudio projects to github repos.
Beak and skull shapes in birds of prey (“raptors”) are strongly coupled and largely controlled by size.
In this exercise, each participant will fork a github repo, and contribute a file required to simulate the evolutionary trajectory of an imaginary species’ body size.
We’ll use github to collate all species files and plot them all up together at the end! We’ll also discover the skull and beak shapes associated with each simulated species size.
fostering reproducibility
empowering collaboration
Getting started with GitHub from materials for a software carpentry course at UBC
Slides for lecture Karl Broman gave on git/github, with notes
joeyklee’s friendly github intro. Mozilla Science Lab workshop