TomG007 / rHFA

rHFA: A R-package for conducting local adaptation analysis in time series agricultural trials
The Unlicense
0 stars 0 forks source link

Home field advantage (HFA) - Analysis of local adaptation in crop populations.

Home Field Advantage (HFA) is the fitness gain an entry (genotype) realizes by growing in its home location, which is empirically defined as the location of highest fitness relative to other entries (Ewing et al., 2019).

Requirements

Input data should be analogous to common gardens. Ex. breeding trials, multi-environment trials, yield trials.

Brief how-to:

  1. permute_hfa() to run hfa analysis. This will work at the population, genotype, site, and year level.
  2. id_home() to return the home site of each genotype
  3. specialist_test() and generalist_test() to identify specialists and generalists.

The rHFA Guide vignette contains a step-by-step analysis of sample data. When installing the package from github, use this command to ensure the vignette is included.

> remotes::install_github("PatrickEwing-USDA/rHFA", build_vignettes = TRUE)

See analysis code for publications below and methods described in those publications - especially Ewing et al. (2019).

Of course, message with questions.

Publications:

Disclaimer: Mention of trade names or commercial products in this publication is solely for the purpose of providing specific information and does not imply recommendation or endorsement by the U.S. Department of Agriculture. The USDA is an equal opportunity provider and employer.