B R Exercises

To download *.zip files associated with R exercises, right-click on the exercise link below to save the file on your computer. Each exercise contains an R Notebook (*.Rmd). In addition, exercises may contain data sets (*.csv), phylogenetic tree files (*.nwk and *.tre), and auxiliary images (*.jpg or *.png). For weekly assignments, download the necessary files from here, complete your R Notebook, export it as *.HTML, and submit it through the proper channel on Canvas.

Exercise (Chapter) File List
Exercise 1 (Chapter 2)
  • ex1_evidence_blank.Rmd

  • finches.csv

  • test_data.csv

  • finch.jpg

Exercise 2 (Chapter 3)
  • ex2_darwins_logic_blank.csv

  • heritability.csv

  • morphological_variation.csv

  • mollies.png

Exercise 3 (Chapter 4)
  • ex3_HWE_blank.Rmd

  • eye_color.jpg

  • HW_frequency.png

  • wing_morphology.png

Exercise 4 (Chapter 5)
  • ex4_simulating_selection_blank.Rmd

  • dominant_additive.png

Exercise 5 (Chapter 6)
  • ex5_simulating_otherforces_blank.Rmd

  • devilshole.jpg

Exercise 6 (Chapter 7)
  • ex6_molecular_evolution_blank.Rmd

  • coronaviruses_tree.nwk

  • coronaviruses_tree_meta.csv

  • ncov_diversity.csv

  • ncov_dnds.csv

  • ncov_global_tree.nwk

  • ncov_global_tree_meta.csv

  • ncov_mutations.csv

Exercise 7 (Chapter 8)
  • ex7_quantitative_genetics_blank.Rmd

  • beach_mice2.csv

  • bug_eyes.csv

  • COVID19_genomescan_subset.csv

  • distribution.jpg

  • mouse.jpg

  • traits.png

Exercise 8 (Chapter 9)
  • ex8_adaptation_blank.Rmd

  • guppy_plasticity2.csv

  • reciprocal_translocation.csv

  • style_length.csv

  • flowers.jpg

  • guppies.png

Exercise 9 (Chapter 10)
  • ex9_social_behavior_blank.Rmd

  • female_reproduction.csv

  • female_survival.csv

  • iguana_size.csv

  • iguana_survival.csv

  • male_effects.csv

  • peacock_growth.csv

  • peacock_survival.csv

  • vampires.csv

  • iguana.jpg

  • peacock.jpg

  • drosophila_exp_design.png

Exercise 10 (Chapter 11)
  • ex10_speciation_blank.Rmd

  • butterfly_mating.csv

  • butterfly_morphology.csv

  • byproduct.csv

  • pop_gen.csv

  • premating_isolation.csv

  • tolerance.csv

  • translocation.csv

  • butterfly_phyloygeny.tre

  • drosophila.jpg

  • experimentaldesign.png

  • map.png

  • sulfidesprings.png

Exercise 11 (Chapter 12)
  • ex11_evolutionary_medicine_bland.Rmd
  • fly_evolution.csv
  • hx546.csv
  • lt1.csv
  • lt2.csv
  • lt3.csv
  • lifetable.png
Exercise 12 (Chapter 13)
  • ex12_evolving_diseases_blank.Rmd

  • antibiotics.csv

  • ifr.csv

  • population_size.csv

  • genetic_manipulation.png

Exercise 13 (Chapter 14)
  • ex13_human_evolution_blank.Rmd

  • genetic_diversity.csv

  • heterozygosity.csv

  • predictions.png

  • tree.png