I will be posting portions of all 10 chapters of my upcoming textbook, Applied Population Genetics, as early draft chapters to this website over the spring semester.
Here is some interesting data coming out of the Baja Araptus attenuatus project. We looked at methylation variation, localized within the genome and compared the amount of among-population variation present. The underlying idea here is that in insects, methylation is more often encountered in coding regions, and has been shown in many cases to be influencing phenotype.
This document shows you how to extract data from rasters.
Getting The Libraries First, I’ll load in some packages to get the ability to work with raster data and to load in the Arapatus attenuatus data set (it is part of the default gstudio package).
require(raster) ## Loading required package: raster ## Loading required package: sp require(gstudio) ## Loading required package: gstudio ## Registered S3 method overwritten by 'spdep': ## method from ## plot.