Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.37 KB

README.md

File metadata and controls

57 lines (36 loc) · 1.37 KB

Litter Diallel

Summary

This package includes functions for reproducing the analysis in our litter diallel manuscript.

Installation

You can install litterDiallel using the following steps. First, please make sure devtools is installed in R.

  1. Install MCMCglmm (for compatibility, must be version 2.25) in R:

    devtools::install_version("MCMCglmm", version = "2.25", repos = "http://cran.us.r-project.org")
  2. Install litterDiallel:

    devtools::install_github("mauriziopaul/litterDiallel", build_vignettes=TRUE)

Using the Package

  1. You should then be able to load the package in R:

    library(litterDiallel)
  2. To load the data set, litters, use:

    data("litters")
  3. For an overview of the analysis, see the vignette:

    browseVignettes("litterDiallel")

Notes

  • For the model inclusion probability analysis, BayesDiallel and BayesSpike must be installed. The instructions are here.

  • For some simple, miscellaneous functions useful for this analysis, install the following package, PLMcctools:

    devtools::install_github("mauriziopaul/PLMcctools")
  • To install other suggested packages, use:

    install.packages(c("tools", "data.table", "xtable"))