Save this video — free

02 - InvertR - Assignment 1 - Dispersal - Example in R

Alex Smith · 45:06 · Watch on YouTube

02 - InvertR - Assignment 1 - Dispersal - Example in R Watch on YouTube →

Overview

Alex Smith uses a South African velvet-worm dataset to demonstrate an R workflow for inferring dispersal from DNA sequences and geographic locations, while explaining how the same methods apply to the assignment’s deep-sea hydrothermal-vent scenario. The workflow downloads GenBank sequences from accessions, aligns them, builds and annotates a maximum-likelihood phylogeny, tests isolation by distance with a Mantel test, and produces maps and plots for a three-minute assignment presentation.

Key takeaways

Chapters

0:00 Why R, Reproducible Science, and the Assignment Setup
5:50 Hydrothermal-Vent Assignment and the South African Velvet-Worm Example
10:50 RStudio’s Four Panes and Step-by-Step Script Workflow
17:15 Set the Working Directory and Install R Packages
21:00 Import Site Data and Map Velvet-Worm Collection Locations
25:00 Retrieve GenBank Sequences, Align Them, and Build a Phylogeny
33:30 Annotate the Phylogeny with Species and Collection Sites
37:35 Measure Isolation by Distance with a Mantel Test
42:15 Export Three Assignment Figures and Prepare the Presentation

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Alex Smith.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.