Exercises and Solutions

If you set up your CSB directory, you already have a data and solutions directory for each tool on your computer. This is the preferred method to conveniently access all data, pseudocode, solutions and scripts. Remember to call git pull to refresh the content of the CSB repository once in a while (see book page 69).

If you wish to download individual data files, please right-click and select “Save link as…" — merely clicking the link might display the file in your browser instead of downloading it. All links for pseudocode, solutions and scripts lead you to the online repository, where you can look at individual files or download them.

Jump to:
Chapter 1: Unix
Chapter 3: Basic Programming
Chapter 4: Writing Good Code
Chapter 5: Regular Expressions
Chapter 6: Scientific Computing
Chapter 8: Statistical Computing
Chapter 9: Data Wrangling and Visualization
Chapter 10: Relational Databases

Chapter 1: Unix

1.10.1 Next Generation Sequencing Data (Marra and DeWoody, 2014)

Data | Pseudocode | Solution

1.10.2 Hormone Levels in Baboons (Gesquiere et al., 2011)

Data | Pseudocode | Solution | Script Q2 | Script Q3

1.10.3 Plant–Pollinator Networks (Saavedra and Stouffer, 2013)

Data | Pseudocode | Solution | Script Q1 | Script Q2

1.10.4 Data Explorer (Buzzard et al., 2016)

Data | Pseudocode | Solution | Script

Chapter 3: Basic Programming

3.8.1 Measles Time Series (Dalziel et al., 2016)

Data | Pseudocode | Solution

3.8.2 Red Queen in Fruit Flies (Singh et al., 2015)

Data | Pseudocode | Solution

Chapter 4: Writing Good Code

4.10.1 Assortative Mating in Animals (Jiang et al., 2013)

Data | Pseudocode | Solution

4.10.2 Human Intestinal Ecosystems (Lahti et al., 2014)

Data | Pseudocode | Solution

Chapter 5: Regular Expressions

5.9.1 Bee Checklist

Data | Pseudocode | Solution

5.9.2 A Map of Science

Data | Pseudocode | Solution

Chapter 6: Scientific Programming

6.6.1 Lord of the Fruit Flies

Pseudocode | Solution

6.6.2 Number of Reviewers and Rejection Rate (Fox et al., 2016)

Data | Pseudocode | Solution

6.6.3 The Evolution of Cooperation

Pseudocode | Solution

Chapter 8: Statistical Computing

8.23.1 Self-Incompatibility in Plants (Goldberg et al., 2010)

Data | Pseudocode | Solution

8.23.2 Body Mass of Mammals (Smith et al., 2003)

Data | PseudocodeSolution | Script Q1 | Script Q2

8.23.3 Leaf Area Using Image Processing (Wilmes, unpub.)

Data | Pseudocode | Solution

8.23.4 Titles and Citations (Letchford et al., 2015)

Data | Pseudocode | Solution

Chapter 9: Data Wrangling and Visualization

9.8.1 Life History in Songbirds (Martin, 2015)

Data | Pseudocode | Solution

9.8.2 Drosophilidae Wings (Bolstad et al., 2015)

Data | Pseudocode | Solution

9.8.3 Extinction Risk Meta-Analysis (Urban, 2015)

Data | Pseudocode | Solution

Chapter 10: Relational Databases

10.11.1 Species Richness of Birds in Wetlands (Zmihorski et al., 2016)

Data | Pseudocode | Solution

10.11.2 Gut Microbiome of Termites (Mikaelyan et al., 2015)

Data | Pseudocode | Solution | Script Q5

Send a Message