FlyCHC: Phenotypic selection on _Drosophila serrata_ CHC traits

Description Usage Format Source References Examples

Description

Raw data from the Gosden et al. (2014) study on phenotypic selection on CHC traits in Drosophila serrata. These data were downloaded from Dryad and then formatted for use in this R package. FlyCHC consists of the following variables:

w

relative fitness, based on mating success.

W

absolute fitness, based on mating success (1 = chosen in mating trial, 0 = rejected in mating trial).

trait_1

logcontrast value of the cuticular hydrocarbon pheromone 1.

trait_2

logcontrast value of the cuticular hydrocarbon pheromone 2.

trait_3

logcontrast value of the cuticular hydrocarbon pheromone 3.

trait_4

logcontrast value of the cuticular hydrocarbon pheromone 4.

trait_5

logcontrast value of the cuticular hydrocarbon pheromone 5.

trait_6

logcontrast value of the cuticular hydrocarbon pheromone 6.

trait_7

logcontrast value of the cuticular hydrocarbon pheromone 7.

sex

sex of the individual.

Usage

1

Format

data.frame with 3689 observations and 10 variables

Source

These data were obtained from the Excel spreadsheet called "phenotypic_selection" that is available on Dryad: http://datadryad.org/resource/doi:10.5061/dryad.t0g84, and are associated with Gosden et al. (2014).

References

Gosden TP, Rundle HD, Chenoweth SF. 2014. Testing the correlated response hypothesis for the evolution and maintenance of male mating preferences in Drosophila serrata. Journal of Evolutionary Biology 27(10): 2106-2112. doi: 10.1111/jeb.12461

Examples

1
2
3
4
5
6
7
8
# Load the data
data(FlyCHC)

# Look at the structure of the data.frame
str(FlyCHC)

# Run a linear regerssion with w as the response and the morphological traits as the predictors
lm(w ~ ., data = FlyCHC[,3:9])

MorphoFun/psa documentation built on Nov. 10, 2021, 7:01 a.m.