"It is interesting to contemplate a tangled bank, clothed with many plants of many kinds, with birds singing on the bushes, with various insects flitting about, and with worms crawling through the damp earth, and to reflect that these elaborately constructed forms, so different from each other, and dependent upon each other in so complex a manner, have all been produced by laws acting around us."
— Charles Darwin, On the Origin of Species, 1859
The Tangled Bank is a comprehensive educational website built with Quarto that serves the University of the Western Cape's Biodiversity and Conservation Biology Department. This repository contains academic materials for undergraduate and honours-level biology and statistics courses, all rich in R content.
🌐 Live Website: tangledbank.netlify.app
- BDC223: Plant Ecophysiology - Covers fundamental plant physiological processes, ecophysiological calculations, and environmental interactions
- BDC334: Biogeography & Global Ecology - Explores biodiversity patterns, macroecology, environmental gradients, and global ecological processes
- BCB744: Introduction to R & Biostatistics - Comprehensive introduction to R programming and statistical analysis for biological sciences
- BCB743: Quantitative Ecology - Advanced multivariate statistics, ordination methods, and quantitative approaches in ecological research
tangled_bank/
├── _quarto.yml # Main Quarto configuration
├── index.qmd # Website homepage
├── BDC223/ # Plant Ecophysiology module
│ ├── L##-*.qmd # Lecture materials
│ ├── Lab*.qmd # Laboratory exercises
│ └── images/ # Module-specific images
├── BDC334/ # Biogeography & Global Ecology
│ ├── Lec-##-*.qmd # Lecture materials
│ ├── Lab-##-*.qmd # Laboratory exercises
│ └── assessments/ # Module assessments
├── BCB744/ # Introduction to R & Biostatistics
│ ├── intro_r/ # R programming lessons
│ ├── basic_stats/ # Statistics lessons
│ └── assessments/ # Tests and examples
├── BCB743/ # Quantitative Ecology
│ ├── *.qmd # Lesson materials
│ └── assessments/ # Module assessments
├── data/ # Educational datasets (CSV, Excel, RData)
├── docs/ # Academic papers and references
├── images/ # Shared images and media
├── R/ # Utility R functions
├── vignettes/ # R tutorials and advanced examples
├── pages/ # Additional content pages
├── blog/ # Blog posts and news
└── _site/ # Generated website content
-
Clone the repository:
git clone https://github.com/ajsmit/tangled_bank.git cd tangled_bank
-
Open in RStudio:
# Open the R project file # File > Open Project > tangled_bank.Rproj
-
Install required R packages:
# The website uses base R and tidyverse ecosystem primarily # Install packages as needed when rendering content
Render entire website:
quarto render
Preview with live reload:
quarto preview
Render specific content:
# Single file
quarto render path/to/file.qmd
# Entire module
quarto render BDC334/
Clean build artifacts:
quarto clean
- Lectures: Prefix with
Lec-
orL##-
- Labs/Practicals: Prefix with
Lab-
- Format: Primarily
.qmd
(Quarto Markdown) with some legacy.Rmd
- Data: Educational datasets in
data/
directory - Images: Module-specific in respective
images/
subdirectories
_quarto.yml
- Main website configuration, navigation, and rendering settingstangled_bank.Rproj
- R project configurationstyles/
- Custom CSS styling (styles.css
,styles.scss
)references.bib
- Academic references and citations.gitignore
- Git ignore patterns for R and Quarto artifacts
- Responsive Design - Mobile-friendly layout with sidebar navigation
- Interactive Content - Code folding, copy buttons, hover citations
- Rich Media - SVG figures, embedded videos, lightbox galleries
- Academic Tools - Citation management, reference tooltips, hypothesis comments
- Search - Full-text search across all content
- Accessibility - Semantic HTML, keyboard navigation, screen reader support
- Lectures - Comprehensive lesson materials with theory and examples
- Labs - Hands-on practical exercises and tutorials
- Assessments - Tests, assignments, and self-evaluation tools
- Vignettes - Advanced R techniques and specialized analyses
- Datasets - Real-world biological and environmental data
- Code Examples - Reproducible R scripts and functions
- Documentation - Academic papers, references, and methodology guides
This is primarily an educational repository. For issues or suggestions:
- Bug Reports: Use GitHub Issues
- Content Suggestions: Contact the course instructor
- Technical Issues: Check Quarto documentation first
- License: CC BY-NC-SA (Creative Commons Attribution-NonCommercial-ShareAlike)
- Copyright: © 2025, A.J. Smit, University of the Western Cape
- Citation: Please cite when using materials from this repository
Instructor: Professor A.J. Smit
Institution: Department of Biodiversity and Conservation Biology, University of the Western Cape
Website: UWC Biodiversity & Conservation Biology
- Live Website: tangledbank.netlify.app
- Quarto Documentation: quarto.org
- R Project: r-project.org
- University of the Western Cape: uwc.ac.za
The Tangled Bank - Exploring the complexity and beauty of biological systems through computational methods and statistical analysis.