1
0
Fork 0
mirror of https://github.com/MillironX/beefblup.git synced 2024-12-22 09:08:16 +00:00
Scripts and spreadsheets for performing single-variate Best Linear Unbiased Predictor (BLUP) to find beef cattle breeding values #KeepEPDsReal
Find a file
2019-08-29 19:56:14 -07:00
Excel Added Julius van der Werf's example to test agains 2019-08-29 19:56:14 -07:00
MATLAB Fixed additive relationship matrix creation 2019-08-24 15:52:24 -07:00
.gitattributes Added git meta files to avoid corruption 2018-09-07 09:20:01 -06:00
.gitignore Added all results files to gitignore 2019-08-29 18:59:13 -07:00
LICENSE.md Terminate if there are more contemporary groups than animals 2018-09-14 21:40:50 -06:00
README.md Added hashtag to README 2019-08-02 20:27:05 -06:00

beefblup

# KeepEPDsReal

MATLAB and Python scripts and Excel spreadsheets that can be used in conjunction to find breeding values for beef cattle.

How to Use

  1. Choose a spreadsheet appropriate to the trait you want to analyze from the Excel folder, and save it to your hard drive
  2. Place your data into the structure described by the spreadsheet
  3. If you wish to add more contemporary group traits to your analysis, add them into or directly after the Purple section
  4. Download the entire MATLAB folder, and set it as your current MATLAB directory
  5. Run beefblup.m
  6. Select the spreadsheet file you just placed your data into
  7. Select a file that you would like to save your results to
  8. Breeding values and contemporary group adjustments will be outputted to the file you selected

Contributing

I will gladly take input on the following:

  • Converting MATLAB scripts to Python
  • Optimizing code sections
  • Adding spreadsheets for additional traits
  • Bug reports, usability issues, etc.

If you are writing code, please keep the code clean by:

  • Indenting using the native editor's formating
  • Naming variables in full word English using all lowercase for MATLAB and camelCase for Python, unless the matrix name is generally agreed upon in academic papers (i.e. A is the additive relationship matrix)
  • For MATLAB, functions go in a separate file
  • Comments go before a code block: no inline comments

License

Distributed under the 3-Clause BSD License