Task Tutorials

Each tutorial is an end-to-end workflow on the bundled demo dataset. Tasks are organised around what you want to answer, not which package implements it — each task has separate sub-pages for masreml and masbayes so you can pick whichever fits your workflow.

Task What it answers Sub-pages
Genomic prediction Which candidates have the highest breeding value? with masreml · with masbayes
GWAS Which markers carry signal about the trait? with masreml · with masbayes

Each task overview explains the task itself — what the goal is, how it differs from the other task, what inputs you need — before sending you to the package-specific tutorial.

Notes on the tutorials

  • All code chunks are illustrative (#| eval: false). The package binaries are not installed during the docs build; copy the snippets into your own R session against your installed masreml / masbayes.
  • Both packages share load_data() and the bundled demo_data.rds — pick "large" for the standard examples and "small" for quick smoke tests.
  • Each tutorial covers SNP and microhaplotype workflows side-by-side; the W-matrix construction is the only major divergence point, with downstream API identical.