Applied Biological Data Analysis

Author
Affiliation

Nick Green, Ph.D.

Published

July 28, 2026

Preface

This website accompanies a course I have developed at Kennesaw State University: BIOL 7410: Applied Biological Data Analysis. The target audience is biologists who need to analyze data for their research projects. If you find the material here helpful, please let me know! Likewise, if you have comments for improvement, I’d love to hear from you: send all comments to ngreen62@kennesaw.edu!

If you are a returning visitor, please note that the website has been rearranged since 2024. This was done to make the modules smaller and more digestible.

The Fall 2025 course syllabus can be downloaded here.

Work in progress warning!

I am actively updating this site throughout the Fall 2025 semester. This means that many cross-references may be broken, pictures missing, etc. Please be patient with me as I get things back into working order.

Data used in this website

This website presents many examples of data analyses or data manipulation. In past versions of the site (and my course), I have tried to use different and interesting datasets for every module, so that examples would feel more relevant and fresh. However, student feedback has convinced me to pursue the opposite strategy: use a single dataset for most examples, so that people could get more familiar with the dataset over the course of the semester. This would prevent having to learn a completely new dataset and biological system every day in class.

However, it turns out that it’s hard to do everything with a single dataset. So, I settled on 3 datasets:

  1. The famous iris dataset included with R. This will be used primarily in early modules covering data manipulation and data frame management, as well as the review of basic statistics in Module 9.
  2. Datasets simulated ad hoc to demonstrate simple concepts with no underlying biological reality (i.e., numbers to demonstrate the properties of a probability distribution).
  3. Small mammal trapping and measurement data from the National Ecological Observatory Network (NEON)(National Ecological Observatory Network (NEON) 2025). The details of which data I used and how I packaged them for this website can be found in Appendix A.

License and permissions

This work and its content is released under the Creative Commons Attribution-ShareAlike 4.0 license. This means that you are allowed to share the material and adapt it for your purposes, under the following conditions:

  1. Give appropriate credit to the author. This includes citing the original sources of any third-party datasets used in some of the tutorials. I’ve done my best to provide appropriate citations alongside these datasets.
  2. If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

This site is for educational purposes only. This work and its content is released under the Creative Commons Attribution-ShareAlike 4.0 license. Inclusion of third-party data for educational purposes falls under guidelines of fair use as defined in section 107 of the US Copyright Act of 1976.

Course description

This course is a survey of data analysis skills and statistical methods essential for careers in biology. This course takes a holistic approach to the data analysis workflow using the open-source software R, including: data management, exploratory analyses, modeling, and reproducible science practices. Statistical topics covered may include generalized linear models, mixed effects models, nonlinear models, and ordination. Students apply techniques learned in class to real biological datasets as a course project.

Course objectives

  1. Engage with current biology literature to explain the role of statistics in the biological sciences and the ways in which analytical results are communicated.
  2. Engage in research using modern statistical methods to investigate biological questions.
  3. Manipulate, summarize, display, and analyze data using the open-source environment and language R.
  4. Use probability distributions to model and think about biological phenomena.
  5. Translate biological hypotheses and ideas into statistical models and vice versa.
  6. Conduct exploratory data analyses in support of scientific investigations, particularly to detect and diagnose common problems with biological datasets.
  7. Communicate data and analytical results to audiences who may or may not have statistical backgrounds.

Course requirements

  • Access to a computer or laptop capable of running R version 4.0 or above. This site was rendered using R version 4.4.3 and the most recent version of any package mentioned (as of August 8, 2025).

  • A 64-bit system is highly recommended for speed and stability.

  • A separate program in which to write and edit code.

    • Most people prefer to use an “integrated development environment” (IDE) or dedicated code editor for coding. I recommend some in Module 2.
    • Most people nowadays prefer RStudio. The desktop version is free and has a lot of nice features that make working with R easier.
    • IDEs and code editors are often subject to irrationally strong personal and organizational preferences, so just pick the one that works for you. Or, use the one your supervisor tells you to use.
    • My usual workflow includes two windows: the base R GUI, and Notepad++.
  • It would helpful to have a dataset of your own to work with. Each course module uses numerous examples with simulated or published datasets. But, at the end of the day, you’re probably here because you need to apply these methods to your own work.

Course organization

This work is roughly organized into 9 parts. The links below will take you straight to the start of each module.

Part 1 introduces the use of statistics in modern biology, setting the stage for the rest of the course.

Module 1 is an introduction to the use of statistics in biology, and explores some fundamental issues related to how biologists make inferences based on data.

Part 2 is an introduction to R split across several modules. Beginners should start in Module 2.

Module 2 is an introduction to the R program and programming language.

Module 3 describes some important R data and object types–how R stores data.

Module 4 covers methods for importing data in R, and exporting results from R.

Module 5 takes a deep dive into manipulating data in R. This includes selecting data, relating data tables, and data frame management.

Part 3 introduces the practices of exploratory data analysis, beginning with basic statistical procedures such as descriptive statistics, data summarization, and describing variables using probability distributions. It also includes a module on planning your analysis.

Module 6 describes descriptive statistics, or summaries, of single variables.

Module 7 describes how to summarize and aggregate data by groups.

Module 8 introduces basic data visualizations like histograms, probability density plots, boxplots, and scatterplots.

Module 9 introduces probability distributions and how to use them to describe your data.

Module 10 covers common statistical problems in biology, including lack of replication, autocorrelation, collinearity, and missing data.

Module 11 is a guide to selecting statistics for your research. This module contains dichotomous keys to help you decide what statistical methods are most appropriate for the question you are trying to analyze.

Part 4 is a review of introductory statistics–basically everything you probably learned in your undergraduate statistics course, but could use refresher on.

Module 12 reviews the structure of biological datasets, null hypothesis significance testing, and the 4 classes of statistical tests used by biologists.

Module 13 reviews tests for comparing the means or locations of groups of observations: t-tests, analysis of variance (ANOVA), and their nonparametric alternatives.

Module 14 reviews procedures for testing continuous patterns: correlation, linear regression, and analysis of covariance (ANCOVA). This module also takes a deep dive into linear models and their fundamental importance for understanding more advanced methods.

Module 15 reviews tests for contingency and independence such as Fisher’s exact test, the \(\chi^2\) test, and the G-test.

Part 5 introduces the the powerful framework of the generalized linear model (GLM) for modeling for modeling data with a single response variable.

Module 16 introduces generalized linear models (GLM), an extremely general and powerful framework for analyzing biological data.

Module 17 demonstrates GLMs for continuous data: Gaussian, log-normal, and Gamma GLMs.

Module 18 covers GLMs for count data: Poisson and negative binomial GLMs.

Module 19 covers GLMs for binomial data and proportional: logistic regression and binomial GLM.

Part 6 builds upon the GLM framework to introduce nonlinear models and mixed models, which can accomodate many situations where GLMs are inadequate.

Module 20 explores nonlinear models for relationships that don’t follow a straight line. These models include biological growth curves and dose response curves.

Module 21 introduces mixed models, which extend GLM and other models to include random effects. Mixed models allow biologists to account for variability from unknown sources.

Part 7 covers multivariate statistics, methods which can consider many variables at a time.

Module 22 introduces multivariate statistics, which explore patterns in 2 or more variables at once. This module covers the structure of multivariate datasets and distance measures.

Module 23 explores cluster analysis, a class of techniques for identifying groups within multivariate data.

Module 24 explores ordination, a class of techniques for visualizing patterns in multivariate data. Ordination also includes dimension reduction, or the consolidation of information from many dimensions into few.

Module 25 describes some multivariate hypothesis tests, many of which are extensions of univariate techniques.

Part 8 introduces two statistical frameworks that can be an alternative to p-values and null hypothesis significance testing.

Module 26 introduces information-theoretic model selection, an alternative to null hypothesis significance testing (NHST) that evaluates entire models rather than individual parameters and their p-values.

Module 27 introduces Bayesian inference using the program JAGS, another alternative to NHST.

Part 9 is “bonus material”; i.e., additional modules that didn’t quite fit in anywhere else. New modules will be added here until the next major update.

Module 28 takes a deep dive into building quality graphics using base R.

Finally, Appendix A describes the NEON dataset that I used to build most of this course, and the steps taken to process the raw data download to the files provided here.

About the author

I’m a quantitative ecologist at Kennesaw State University who studies human impacts on animal populations. Since earning my PhD at Baylor University in 2012, I’ve been fortunate to have worked in a variety of government and industry roles. Those experiences have shaped my perspective on biology and education. In my courses and advising I do my best to impress upon students the variety of biological experiences and perspectives that different domains bring to the table…and the value that they all bring. Most of my current research focuses on understanding human impacts on animal communities and how animal populations adapt to rapidly changing environments.

Why am I making this guide? I have been using R since about 2008, when I was a graduate student trying to make a multi-panel plot for a manuscript. I had seen R mentioned in publications and thought that using R would be more effective than kludging something together with Excel and Powerpoint. Needless to say, jumping straight to making plots with the lattice package was not the easiest way to learn R. The final result was a little clunky (Kirchner et al. 2011) but I am still really proud of it. Eventually I took some courses and did a lot of self-teaching, and am finally (March 2025) pretty decent at R. I have used R in my work pretty much continuously since 2008 for everything from Bayesian data analysis (e.g., Green et al. 2020) to simulation modeling (e.g., Green et al. 2019).

This guide is meant to be a primer for self-starting with R. In many sections the text is a bit lengthy, but that is because I wanted to provide explanations that might save someone some of the trouble I had getting started. R documentation is notoriously terse and compact–this is great for professionals who need a reminder, but not so much for newcomers who are still trying to learn. This guide also evolved out of course notes, and will continue to evolve based on feedback from students. If you have any feedback or suggestions for improvement, please send me a message!

Bolker BM. 2008. Ecological models and data in R. Princeton, New Jersey, USA: Princeton University Press.
Dalgaard P. 2002. Introductory statistics with R. Springer Science+Business Media.
Green NS, Wildhaber ML, Albers JL. 2019. Potential responses of the Lower Missouri River shovelnose sturgeon (Scaphirhynchus platorynchus) population to a commercial fishing ban. Journal of Applied Ichthyology 35(1):370–377.
Green NS, Wildhaber ML, Albers JL, Pettit TW, Hooper MJ. 2020. Efficient mammal biodiversity surveys for ecological restoration monitoring. Integrated Environmental Assessment and Management.
James G, Witten D, Hastie T, Tibshirani R. 2013. An introduction to statistical learning. 7th ed. Vol. 112. Springer.
Kéry M. 2010. Introduction to WinBUGS for ecologists: Bayesian approach to regression, ANOVA, mixed models and related analyses. Academic Press.
Kirchner BN, Green NS, Sergeant DA, Mink JN, Wilkins KT. 2011. Responses of small mammals and vegetation to a prescribed burn in a tallgrass blackland prairie. The American Midland Naturalist 166(1):112–125.
Legendre P, Legendre L. 2012. Numerical ecology. Amsterdam: Elsevier.
McCune B, Grace JB, Urban DL. 2002. Analysis of ecological communities. MjM software design, Gleneden Beach, Oregon, USA.
National Ecological Observatory Network (NEON). 2025. Small mammal box trapping (DP1.10072.001). https://doi.org/10.48443/YRH2-6058
Zuur AF, Ieno EN, Smith GM. 2007. Analysing ecological data. New York: Springer Science+Business Media.
Zuur AF, Ieno EN, Walker NJ, Saveliev AA, Smith GM et al. 2009a. Mixed effects models and extensions in ecology with R. Vol. 574. New York: Springer.
Zuur A, Ieno EN, Meesters E. 2009b. A beginner’s guide to R. New York: Springer Science+Business Media.