Package: DiallelAnalysisR 1.0.0

DiallelAnalysisR: Diallel Analysis, Heterosis and Related Mating Designs

Analysis of diallel crosses and related mating designs in plant breeding, from the plot data of randomized complete block experiments: Griffing's four methods and two models (Griffing, 1956 <doi:10.1071/BI9560463>), from plot data, from a published table of means or over several environments, with gca by environment and sca by environment interactions and a split of reciprocal effects into maternal and non-maternal parts (Cockerham and Weir, 1977); Hayman's analysis with the Wr-Vr graph and the components of variation (Hayman, 1954 <doi:10.1093/genetics/39.6.789>); mid-parent, better-parent and standard heterosis with t tests; Gardner and Eberhart's (1966) Analyses II and III; the partial diallel (Kempthorne and Curnow, 1961 <doi:10.2307/2527989>); line by tester analysis with proportional contributions; and the North Carolina designs I, II and III (Comstock and Robinson, 1948). Missing plots are handled by least-squares means. Results include analyses of variance, effects with standard errors, variance components and genetic ratios, plots of the effects and a biplot of the crosses, tables for papers in Word, LaTeX, HTML or Markdown, simulation of diallel data and the power of the tests for planning the number of replicates, and an interactive 'shiny' application.

Authors:Muhammad Yaseen [aut, cre, cph], Kent Eskridge [aut, ctb], Pedro Barbosa [aut, ctb], Yuhang Guo [aut, ctb]

DiallelAnalysisR_1.0.0.tar.gz
DiallelAnalysisR_1.0.0.zip(r-4.7-any)DiallelAnalysisR_1.0.0.zip(r-4.6-any)DiallelAnalysisR_1.0.0.zip(r-4.5-any)
DiallelAnalysisR_1.0.0.tgz(r-4.6-any)DiallelAnalysisR_1.0.0.tgz(r-4.5-any)
DiallelAnalysisR_1.0.0.tar.gz(r-4.7-any)DiallelAnalysisR_1.0.0.tar.gz(r-4.6-any)
DiallelAnalysisR_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
DiallelAnalysisR/json (API)

# Install 'DiallelAnalysisR' in R:
install.packages('DiallelAnalysisR', repos = c('https://myaseen208.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/myaseen208/diallelanalysisr/issues

Pkgdown/docs site:https://myaseen208.com

Datasets:
  • Griffing56 - Griffing's (1956) maize diallel: cross means of nine inbred lines
  • GriffingData1 - Complete diallel of eight parents
  • GriffingData2 - Parents and one set of crosses of eight parents
  • GriffingData3 - Crosses and reciprocals of eight parents without the parents
  • GriffingData4 - One set of crosses of eight parents
  • HaymanData - Complete diallel of eight parents for Hayman's analysis
  • LineTesterData - Line by tester example: eight lines crossed with three testers
  • NCData - North Carolina designs I, II and III: example data
  • PartialDiallelData - Partial diallel: ten by four parents

On CRAN:

Conda:

quarto

6.45 score 3 stars 63 scripts 454 downloads 1 mentions 18 exports 18 dependencies

Last updated from:ca248a5738. Checks:8 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK152
source / vignettesOK241
linux-releaseOK147
macos-releaseOK140
macos-oldrelOK187
windows-develOK130
windows-releaseOK106
windows-oldrelOK127
wasm-releaseFAIL69

Exports:da_exportda_notationda_referenceda_saveda_tablesda_themeDiallelAppDiallelPowerDiallelSimGardnerEberhartGriffingGriffingEnvGriffingMeansHaymanHeterosisLineTesterNCDesignPartialDiallel

Dependencies:clicpp11data.tablefarverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr

Choosing an analysis
Abstract | Decision table | Which method does a data set fit? | What happens when a plot or a cross is missing | Column names | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Choosing an analysis (PDF)
Abstract | Decision table | Which method does a data set fit? | What happens when a plot or a cross is missing | Column names | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Diallels over environments and the biplot
Abstract | A diallel over several environments | A biplot of the crosses | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Diallels over environments and the biplot (PDF)
Abstract | A diallel over several environments | A biplot of the crosses | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Extending the package
Abstract | The parts of an analysis | Building blocks available | Example: heterosis over the mid-parent | Summary

Last update: 2026-11-04
Started: 2026-11-04

Extending the package (PDF)
Abstract | The parts of an analysis | Building blocks available | Example: heterosis over the mid-parent | Summary

Last update: 2026-11-04
Started: 2026-11-04

Getting started with DiallelAnalysisR
Abstract | The data | One analysis | The analysis of variance | Effects and standard errors | Plots | The usual model functions | Tables for a report | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Getting started with DiallelAnalysisR (PDF)
Abstract | The data | One analysis | The analysis of variance | Effects and standard errors | Plots | The usual model functions | Tables for a report | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Griffing's methods with fixed effects
Abstract | The four methods on one data set | Method 1: parents, $F_1$ and reciprocals | Standard errors and comparisons | Predicting crosses from general combining ability | Methods 2, 3 and 4 | Plots | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Griffing's methods with fixed effects (PDF)
Abstract | The four methods on one data set | Method 1: parents, F_1 and reciprocals | Standard errors and comparisons | Predicting crosses from general combining ability | Methods 2, 3 and 4 | Plots | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Griffing's methods with random effects
Abstract | Variance components | All four methods | Additive and dominance variance | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Griffing's methods with random effects (PDF)
Abstract | Variance components | All four methods | Additive and dominance variance | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Hayman's analysis
Abstract | The analysis | Arrays: $V_r$ and $W_r$ | The $W_r$-$V_r$ graph | Tests of the model | Components of variation | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Hayman's analysis (PDF)
Abstract | The analysis | Arrays: V_r and W_r | The W_r-V_r graph | Tests of the model | Components of variation | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Heterosis, maternal effects and Gardner and Eberhart
Abstract | Heterosis | Maternal and non-maternal reciprocal effects | Gardner and Eberhart's Analyses II and III | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Heterosis, maternal effects and Gardner and Eberhart (PDF)
Abstract | Heterosis | Maternal and non-maternal reciprocal effects | Gardner and Eberhart's Analyses II and III | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Line by tester and North Carolina designs
Abstract | Line $\times$ tester analysis | North Carolina designs | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Line by tester and North Carolina designs (PDF)
Abstract | Line \times tester analysis | North Carolina designs | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Partial diallel between two groups
Abstract | The data | The analysis | Effects | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Partial diallel between two groups (PDF)
Abstract | The data | The analysis | Effects | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Simulation and planning the number of replicates
Abstract | Simulation and the number of replicates | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Simulation and planning the number of replicates (PDF)
Abstract | Simulation and the number of replicates | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Speed
Abstract | Timings | Where the time goes | Summary

Last update: 2026-11-04
Started: 2026-11-04

Speed (PDF)
Abstract | Timings | Where the time goes | Summary

Last update: 2026-11-04
Started: 2026-11-04

Tables for papers and the interactive application
Abstract | The tables of an analysis | Export to Word, LaTeX, HTML, Markdown or CSV | The interactive application | Summary

Last update: 2026-11-04
Started: 2026-11-04

Tables for papers and the interactive application (PDF)
Abstract | The tables of an analysis | Export to Word, LaTeX, HTML, Markdown or CSV | The interactive application | Summary

Last update: 2026-11-04
Started: 2026-11-04

Theory and notation
Abstract | Notation | The diallel model | Least squares | Fixed and random models | Hayman's model | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Theory and notation (PDF)
Abstract | Notation | The diallel model | Least squares | Fixed and random models | Hayman's model | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Validation and the corrections of version 0.6.0
Abstract | Closed forms against the exact decomposition | Sums of squares against a linear model | Results that changed | Published values: Griffing (1956) | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Validation and the corrections of version 0.6.0 (PDF)
Abstract | Closed forms against the exact decomposition | Sums of squares against a linear model | Results that changed | Published values: Griffing (1956) | Summary | References

Last update: 2026-11-04
Started: 2026-11-04

Readme and manuals

Help Manual

Help pageTopics
Export the tables of an analysis for a report or a paperda_export da_tables
Notation of DiallelAnalysisRda_notation
Published values used by the tests and vignettesda_reference
Save a figure (vector PDF by default)da_save
ggplot2 theme of DiallelAnalysisRda_theme
Methods for DiallelAnalysisR resultsas.data.frame.da_result as.data.table.da_result da-methods format.da_result plot.da_result print.da_result print.summary.da_result summary.da_result
Methods for the diallel analysesanova.da_result autoplot.da_result coef.da_griffing coef.da_hayman coef.da_partial confint.da_griffing confint.da_partial df.residual.da_result diallel-methods fitted.da_result nobs.da_result predict.da_griffing print.summary.da_griffing print.summary.da_hayman print.summary.da_partial residuals.da_result vcov.da_griffing vcov.da_partial
Interactive analysis in a web browserDiallelApp
Power of the combining-ability tests for planning a diallelDiallelPower plot.da_power
Simulate diallel dataDiallelSim
Gardner and Eberhart's Analyses II and III of a diallel with parentsGardnerEberhart
Diallel analysis by Griffing's methodsGriffing
Griffing's (1956) maize diallel: cross means of nine inbred linesGriffing56
Complete diallel of eight parents (Griffing's Method 1)GriffingData1
Parents and one set of crosses of eight parents (Griffing's Method 2)GriffingData2
Crosses and reciprocals of eight parents without the parents (Griffing's Method 3)GriffingData3
One set of crosses of eight parents (Griffing's Method 4)GriffingData4
Griffing's diallel analysis over several environmentsGriffingEnv
Griffing's analysis from a table of cross meansGriffingMeans
Diallel analysis by Hayman's approachHayman
Complete diallel of eight parents for Hayman's analysisHaymanData
Heterosis over the mid-parent, the better parent and a standard varietyHeterosis
Line by tester analysisLineTester
Line by tester example: eight lines crossed with three testersLineTesterData
North Carolina designs I, II and III: example dataNCData
North Carolina designs I, II and IIINCDesign
Partial diallel analysis (crosses between two groups of parents)PartialDiallel
Partial diallel: ten by four parentsPartialDiallelData