Function hcc
calculates Heterosis between experimental genotypes and commercial checks.
Example: Estimation of Standard Heterosis between maize hybrid and checks
library(gpbStat)
data("hybrid")
data('check')
= hcc(hybrid, check)
res
res#> i.Genotype C1.DM C1.DTP C1.DTS C1.EH C1.GY
#> 1 H1 4.21902920 -11.3029047 0.16925642 -30.4994305 -12.931397
#> 2 H10 -0.99274103 -4.6878995 -3.79547846 -25.1704657 1.703767
#> 3 H11 -1.60097821 -11.9467726 -7.05458939 -23.3901139 -24.399669
#> 4 H12 2.17111449 -11.8662623 -4.69741358 -20.8181111 -11.438959
#> 5 H13 0.80761970 -13.0619007 -7.54200256 -22.4003586 -6.229038
#> 6 H14 1.56658322 -13.4224659 -0.74540588 -24.7388525 -15.377135
#> 7 H15 -1.34902361 -5.4584296 -9.36980028 -33.6833821 9.333889
#> 8 H16 4.29295567 -0.1704894 -2.19247933 -5.6616610 -10.798061
#> 9 H17 1.78936434 -12.1874145 -6.81572342 -11.0796193 1.071019
#> 10 H18 2.22216192 -7.2452042 -7.63212115 -26.2487566 -13.595141
#> 11 H19 -1.59809786 -4.8784202 -0.15260278 -7.3698287 -22.256936
#> 12 H2 3.95571246 -9.0680877 -4.20187771 -11.0148052 -36.088042
#> 13 H20 0.16813056 -11.2179996 -0.30945487 -13.7994205 -7.418901
#> 14 H21 4.28618654 -10.0788889 -7.42851743 -25.6741505 12.821685
#> 15 H22 0.34357931 0.4632983 -4.79758480 -3.3074365 -16.005649
#> 16 H23 2.05839109 -0.9412637 -6.07858467 -25.4170011 -25.171901
#> 17 H24 -3.32133144 -11.8629056 0.16562815 -23.7242238 -16.244011
#> 18 H25 2.74502490 -12.7241223 -2.57570312 -8.3704933 -15.409444
#> 19 H26 -2.90571547 -4.3465510 -0.09198928 -5.4026939 -2.251824
#> 20 H27 0.17212834 -10.1947479 -0.97651376 -16.2411718 -12.679837
#> 21 H28 0.08877777 -11.4918665 0.18992387 -11.3019737 -16.767144
#> 22 H29 1.56670750 -8.0901279 -4.31949737 -10.1764229 -32.581748
#> 23 H3 0.67432413 -8.8839027 -5.46185801 -21.8226713 -38.404314
#> 24 H30 -2.62684795 -10.0485814 3.08363875 -37.6305981 -7.232343
#> 25 H31 3.52700194 -13.8435763 -2.13542332 -24.4733018 -2.553274
#> 26 H32 -0.72296291 -12.4322974 -7.37373268 -40.4923328 -16.496762
#> 27 H33 1.13463839 -0.3083616 -3.12742709 -21.5095303 14.051392
#> 28 H34 -2.16616236 -6.9800611 -4.31777233 -22.0372376 -7.610204
#> 29 H35 0.28622669 -13.0195904 -3.44065678 -3.3212640 -2.056983
#> 30 H36 -0.41595024 -3.9744827 2.87612580 -23.6197193 -8.999656
#> 31 H37 4.27215902 -2.4212055 -7.06274739 -6.7343905 -11.282929
#> 32 H38 -1.52772247 -3.9261474 -2.03724733 -25.3688969 -17.283695
#> 33 H39 1.71325593 -8.1679830 -7.12549846 -4.5966453 -30.723783
#> 34 H4 4.36520801 -7.2140133 -5.41226822 -26.1243732 -18.855549
#> 35 H40 9.07780657 -9.5039239 -6.68469696 -10.0485429 -2.480135
#> 36 H41 5.06134274 -10.7757074 -5.75428433 -23.5474348 -6.465774
#> 37 H42 -0.76248257 -10.5711764 -9.07213131 -27.8746541 -5.345320
#> 38 H43 -2.26551623 -8.0405130 1.08017100 -0.9757004 13.530601
#> 39 H44 2.70944998 -9.8255821 -9.35299529 -21.8350298 -21.889549
#> 40 H45 4.35495888 -3.7086804 -7.32349465 -25.2043834 4.775849
#> 41 H46 -0.06189363 -1.9477944 -6.08510204 -23.5846474 5.990413
#> 42 H47 0.40414855 -7.2315579 -7.50571556 -27.8373425 -7.026387
#> 43 H48 3.29293879 0.1665101 -7.90728568 -19.9941567 -23.373766
#> 44 H49 4.67372746 -4.0485821 -1.72615017 -24.6328724 -45.256410
#> 45 H5 -2.10411574 -0.5792159 -7.32865640 -26.1453961 9.195765
#> 46 H50 2.00125110 -8.0584686 -0.17867177 -24.9393776 -40.937205
#> 47 H51 1.08665710 -7.1437194 -1.21918493 -24.3644282 -9.231438
#> 48 H52 6.22868789 -0.1722424 -6.47160481 -26.9108915 -32.699577
#> 49 H53 0.92278183 -2.7058661 -1.31608305 -25.8670629 2.761191
#> 50 H54 -1.63709727 -5.5782557 -6.09717063 -28.9070727 -19.839555
#> 51 H55 -1.11661873 -11.6359262 -8.46271437 -28.5454760 2.741346
#> 52 H56 3.64576278 -1.2237601 -3.44978894 -6.2388607 -36.949111
#> 53 H57 -3.87008741 -14.0182686 -5.41173558 -25.9199293 -28.614784
#> 54 H58 0.18616681 -8.8464370 0.68205199 -17.1055152 -5.295990
#> 55 H59 6.16982623 -0.2222934 -3.83290656 -17.0143683 -9.552328
#> 56 H6 6.16287055 -2.8060950 -7.01195024 -27.6042235 -23.570129
#> 57 H60 0.76765750 -2.8617227 -8.48086220 -26.2504374 -39.593769
#> 58 H61 -0.03245187 -8.0043544 -4.04761105 -22.4965922 -9.287791
#> 59 H62 3.91310908 -1.9075743 -1.06536327 -28.7581430 -6.385917
#> 60 H63 5.55797812 -0.1546745 -8.62839033 -25.0343160 1.422082
#> 61 H64 -2.93706449 -11.8080085 1.82537891 -23.1597106 -1.172882
#> 62 H65 0.53929698 -6.5774828 -4.08906002 -23.5891639 -11.559386
#> 63 H7 0.66112607 -6.4975181 -0.46314451 -24.1792147 -22.580217
#> 64 H8 -0.08412633 -1.3178780 -1.44600361 -13.4221525 -13.837368
#> 65 H9 1.29399298 -8.2990269 -3.77427035 -27.4911490 1.093128
#> C1.PH C2.DM C2.DTP C2.DTS C2.EH C2.GY
#> 1 28.436948 -1.7380860 -7.71800816 7.17525868 -7.89173670 34.396037
#> 2 23.873604 -6.6519537 -0.83564233 2.93322373 -0.82932425 56.986362
#> 3 34.948920 -7.2254243 -8.38789939 -0.55383477 1.53015446 16.694015
#> 4 9.594940 -3.6689428 -8.30413511 1.96820579 4.93879862 36.699712
#> 5 16.177810 -4.9545008 -9.54809804 -1.07533842 2.84186516 44.741562
#> 6 27.255032 -4.2389193 -9.92323624 6.19662340 -0.25731243 30.620882
#> 7 20.320340 -6.9878713 -1.63731517 -3.03097531 -12.11138922 68.763950
#> 8 -4.200654 -1.6683851 3.86434929 4.64833925 25.02545842 37.688979
#> 9 46.315806 -4.0288723 -8.63826740 -0.29826212 17.84510397 56.009675
#> 10 21.344951 -3.6208132 -3.49630641 -1.17176005 -2.25837006 33.371505
#> 11 18.301181 -7.2227086 -1.03386339 6.83088811 22.76164453 20.001462
#> 12 26.225120 -1.9863517 -5.39286583 2.49840025 17.93100122 -1.347746
#> 13 31.149564 -5.5574370 -7.62967137 6.66306554 14.24058430 42.904932
#> 14 6.245841 -1.6747674 -6.44452098 -0.95391595 -1.49685157 74.147589
#> 15 26.662759 -5.3920168 4.52375292 1.86102843 28.14548366 29.650730
#> 16 22.148102 -3.7752230 3.06242235 0.49043332 -1.15605457 15.502025
#> 17 22.130528 -8.8474428 -8.30064281 7.17137664 1.08736265 29.282802
#> 18 10.602305 -3.1278368 -9.19666750 4.23831216 21.43547576 30.571010
#> 19 8.221584 -8.4555833 -0.48049743 6.89574102 25.36866446 50.880651
#> 20 28.144173 -5.5536677 -6.56506269 5.94935145 11.00456088 34.784337
#> 21 14.126663 -5.6322540 -7.91460730 7.19737164 17.55042030 28.475313
#> 22 2.378554 -4.2388021 -4.37537956 2.37255408 19.04209912 4.064446
#> 23 34.900102 -5.0801772 -5.20123666 1.15029486 3.60746715 -4.923063
#> 24 17.689522 -8.1926557 -6.41298845 10.29347770 -17.34258685 43.192897
#> 25 33.624655 -2.3905573 -10.36136682 4.70938585 0.09461864 50.415344
#> 26 12.809326 -6.3975960 -8.89304779 -0.89529946 -21.13520917 28.892665
#> 27 35.922092 -4.6461744 3.72090460 3.64799972 4.02246912 76.045723
#> 28 12.255834 -7.7583027 -3.22044690 2.37439977 3.32310508 42.609644
#> 29 36.486014 -5.4460912 -9.50407764 3.31286222 28.12715827 51.181401
#> 30 18.898032 -6.1081320 -0.09339112 10.07145095 1.22586122 40.464934
#> 31 11.329478 -1.6879931 1.52266534 -0.56256335 23.60378308 36.940554
#> 32 41.315342 -7.1563558 -0.04310223 4.81442844 -1.09230274 27.677982
#> 33 8.190060 -4.1006303 -4.45638140 -0.62970334 26.43691089 6.932334
#> 34 36.642515 -1.6002627 -3.46385480 1.20335305 -2.09352634 25.251724
#> 35 20.898816 2.8429657 -5.84631742 -0.15807145 19.21157700 50.528238
#> 36 53.460307 -0.9439187 -7.16950298 0.83741576 1.32165903 44.376145
#> 37 30.414656 -6.4348567 -6.95670532 -2.71248688 -4.41315230 46.105640
#> 38 17.883909 -7.8519776 -4.32375934 8.14988412 31.23570530 75.241848
#> 39 7.856262 -3.1613783 -6.18097613 -3.01299495 3.59108866 20.568548
#> 40 1.090130 -1.6099260 0.18315421 -0.84154770 -0.87427491 61.728319
#> 41 31.898023 -5.7743131 2.01521045 0.48346012 1.27234163 63.603079
#> 42 21.518043 -5.3349097 -3.48210851 -1.03651344 -4.36370374 43.510803
#> 43 23.831802 -2.6112415 4.21496937 -1.46617004 6.03077549 18.277564
#> 44 34.646835 -1.3093781 -0.17048543 5.14728424 -0.11685837 -15.499718
#> 45 37.027435 -7.6998027 3.43910318 -0.84707047 -2.12138764 68.550747
#> 46 36.701865 -3.8290969 -4.34244069 6.80299582 -0.52306596 -8.832744
#> 47 31.375347 -4.6914131 -3.39071980 5.68970746 0.23890758 40.107164
#> 48 34.951091 0.1567015 3.86252544 0.06992471 -3.13588940 3.882569
#> 49 4.015653 -4.8459213 1.22649946 5.58603213 -1.75251603 58.618565
#> 50 19.325327 -7.2594788 -1.76198429 0.47054743 -5.78140418 23.732846
#> 51 34.687744 -6.7687506 -8.06448943 -2.06044632 -5.30218453 58.587932
#> 52 46.337722 -2.2785848 2.76850821 3.30309134 24.26050272 -2.676863
#> 53 30.069199 -9.3648322 -10.54311966 1.20392293 -1.82257927 10.187712
#> 54 29.502616 -5.5404317 -5.16225663 7.72392002 9.85905699 46.181784
#> 55 25.655530 0.1012043 3.81045149 2.89317784 9.97985285 39.611849
#> 56 3.722212 0.0946462 1.12221958 -0.50821337 -4.05475393 17.974465
#> 57 17.899109 -4.9921788 1.06434358 -2.07986344 -2.26059758 -6.759064
#> 58 31.049302 -5.7465542 -4.28613934 2.66345658 2.71432799 40.020179
#> 59 -2.602859 -2.0265199 2.05705612 5.85428766 -5.58402953 44.499410
#> 60 40.186858 -0.4756708 3.88080340 -2.23770993 -0.64888661 56.551563
#> 61 32.960230 -8.4851404 -8.24352686 8.94721309 1.83550523 52.546067
#> 62 22.488620 -5.2074863 -2.80159744 2.61910859 1.26635586 36.513825
#> 63 36.311553 -5.0926209 -2.71840083 6.49862659 0.48436870 19.502457
#> 64 34.362239 -5.7952750 2.67058630 5.44702471 14.74057305 32.997612
#> 65 17.022780 -4.4959284 -4.59272173 2.95591517 -3.90489764 56.043801
#> C2.PH C3.DM C3.DTP C3.DTS C3.EH C3.GY
#> 1 26.4088524 0.888672574 3.18368498 6.4261155 -10.0410539 -1.78712441
#> 2 21.9175666 -4.156553665 10.87909612 2.2137319 -3.1434406 14.72125482
#> 3 32.8179968 -4.745354405 2.43465645 -1.2489524 -0.8390196 -14.72326859
#> 4 7.8643708 -1.093800281 2.52831619 1.2554594 2.4900850 -0.10366328
#> 5 14.3432937 -2.413724111 1.13739823 -1.7668108 0.4420828 5.77309663
#> 6 25.2455993 -1.679013542 0.71794324 5.4543208 -2.5847765 -4.54590251
#> 7 18.4204108 -4.501451101 9.98271801 -3.7087780 -14.1622421 23.32798757
#> 8 -5.7133830 0.960236699 16.13431922 3.9168590 22.1080289 0.61926525
#> 9 44.0053923 -1.463351473 2.15471132 -0.9951662 15.0952258 14.00751900
#> 10 19.4288419 -1.044384092 7.90411564 -1.8625585 -4.5391401 -2.53582390
#> 11 16.4331351 -4.742566094 10.65745831 6.0841521 19.8970404 -12.30627875
#> 12 24.2319508 0.633770220 5.78350700 1.7819478 15.1791186 -27.90768471
#> 13 29.0786348 -3.032778142 3.28245740 5.9175026 11.5748164 4.43093834
#> 14 4.5681558 0.953683873 4.60761503 -1.6462371 -3.7953914 27.26220069
#> 15 24.6626786 -2.862935920 16.87162121 1.1490312 25.1552493 -5.25486306
#> 16 20.2193104 -1.202921566 15.23765698 -0.2119836 -3.4625468 -15.59434176
#> 17 20.2020147 -6.410733123 2.53222105 6.4222606 -1.2714790 -5.52373390
#> 18 8.8558289 -0.538229390 1.53034487 3.5096979 18.6018173 -4.58234766
#> 19 6.5127004 -6.008398310 11.27619591 6.1485517 22.4432263 10.25937142
#> 20 26.1207008 -3.028908110 4.47283317 5.2087772 8.4143046 -1.50336624
#> 21 12.3245354 -3.109595182 2.96386069 6.4480739 14.8074184 -6.11382455
#> 22 0.7619355 -1.678893231 6.92119357 1.6569813 16.2642894 -23.95260534
#> 23 32.7699490 -2.542760166 5.99777420 0.4432655 1.1898197 -30.52042655
#> 24 15.8311345 -5.738442102 4.64287263 9.5225385 -19.2713714 4.64137492
#> 25 31.5146419 0.218759291 0.22805429 3.9774789 -2.2410576 9.91933789
#> 26 11.0279994 -3.895396400 1.86983256 -1.5880303 -22.9754941 -5.80883581
#> 27 33.7758013 -2.097155419 15.97392876 2.9235117 1.5951377 28.64930405
#> 28 10.4832474 -5.292477887 8.21256370 1.6588141 0.9120931 4.21514990
#> 29 34.3308189 -2.918455819 1.18661896 2.5907168 25.1373516 10.47915092
#> 30 17.0205613 -3.598194427 11.70903286 9.3020637 -1.1362122 2.64785598
#> 31 9.5715192 0.940104613 13.51600145 -1.2576200 20.7195279 0.07233724
#> 32 39.0838890 -4.674439574 11.76526261 4.0817872 -3.4002826 -6.69649186
#> 33 6.4816746 -1.537027808 6.83062261 -1.3242907 23.4865456 -21.85683253
#> 34 34.4848487 1.030180185 7.94040091 0.4959528 -4.3781429 -8.46953376
#> 35 18.9897514 5.592185958 5.27648710 -0.8559554 16.4298126 10.00183786
#> 36 51.0370778 1.704069681 3.79698759 0.1325734 -1.0426498 5.50605986
#> 37 28.3553309 -3.933653196 4.03492400 -3.3925158 -6.6436411 6.76992633
#> 38 16.0224521 -5.388656871 6.97891192 7.3939284 28.1733616 28.06185450
#> 39 6.1531478 -0.572667496 4.90229363 -3.6909234 1.1738234 -11.89186796
#> 40 -0.5061430 1.020258576 12.01824775 -1.5346543 -3.1873423 18.18654498
#> 41 29.8152751 -3.255451823 14.06673316 -0.2189081 -1.0908164 19.55656690
#> 42 19.5992013 -2.804302186 7.91999080 -1.7282572 -6.5953465 4.87369222
#> 43 21.8764241 -0.007824286 16.52635965 -2.1549106 3.5565809 -13.56605538
#> 44 32.5206810 1.328840790 11.62283105 4.4123164 -2.4475999 -38.24955080
#> 45 34.8636906 -5.232413990 15.65883685 -1.5401384 -4.4053541 23.17218496
#> 46 34.5432613 -1.258235627 6.95802366 6.0564547 -2.8443287 -33.37751214
#> 47 29.3008526 -2.143603451 8.02217568 4.9509481 -2.1001356 2.38640778
#> 48 32.8201331 2.834111896 16.13227991 -0.6295530 -5.3961828 -24.08551630
#> 49 2.3731836 -2.302242022 13.18484815 4.8479975 -4.0450900 15.91402293
#> 50 17.4411087 -4.780319268 9.84332116 -0.2317305 -7.9799653 -9.57948712
#> 51 32.5609447 -4.276472803 2.79627231 -2.7450329 -7.5119281 15.89163729
#> 52 44.0269624 0.333725090 14.90902143 2.5810142 21.3609232 -28.87896566
#> 53 28.0153291 -6.941953404 0.02483017 0.4965187 -4.1135183 -19.47789313
#> 54 27.4576927 -3.015318245 6.04135911 6.9709418 7.2955307 6.82557016
#> 55 23.6713542 2.777131184 16.07405422 2.1739660 7.4135078 2.02444508
#> 56 2.0843762 2.770397770 13.06824920 -1.2036499 -6.2936059 -13.78755185
#> 57 16.0374122 -2.452409303 13.00353604 -2.7643143 -4.5413156 -31.86212477
#> 58 28.9799554 -3.226950884 7.02097614 1.9458504 0.3175216 2.32284159
#> 59 -4.1408182 0.592528244 14.11352226 5.1143779 -7.7871963 5.59613866
#> 60 37.9732240 2.184834895 16.15271713 -2.9210575 -2.9672134 14.40351597
#> 61 30.8607093 -6.038745559 2.59608436 8.1856842 -0.5407941 11.47641090
#> 62 20.5544520 -2.673472473 8.68089375 1.9018124 -1.0966625 -0.23950421
#> 63 34.1591129 -2.555536484 8.77391876 5.7542130 -1.8604022 -12.67093734
#> 64 32.2405799 -3.276974072 14.79953156 4.7099617 12.0631381 -2.80905503
#> 65 15.1749210 -1.942893057 6.67817578 2.2362648 -6.1472464 14.03245758
#> C3.PH
#> 1 2.8726688
#> 2 -0.7823802
#> 3 8.0884885
#> 4 -12.2189982
#> 5 -6.9463921
#> 6 1.9260029
#> 7 -3.6283973
#> 8 -23.2686972
#> 9 17.1928923
#> 10 -2.8077270
#> 11 -5.2456602
#> 12 1.1010866
#> 13 5.0453619
#> 14 -14.9014878
#> 15 1.4516167
#> 16 -2.1644365
#> 17 -2.1785119
#> 18 -11.4121406
#> 19 -13.3189999
#> 20 2.6381684
#> 21 -8.5892759
#> 22 -17.9990244
#> 23 8.0493868
#> 24 -5.7355738
#> 25 7.0278065
#> 26 -9.6444086
#> 27 8.8679586
#> 28 -10.0877327
#> 29 9.3196369
#> 30 -4.7676075
#> 31 -10.8297054
#> 32 13.1877284
#> 33 -13.3442489
#> 34 9.4449878
#> 35 -3.1650628
#> 36 22.9153417
#> 37 4.4567306
#> 38 -5.5798778
#> 39 -13.6116070
#> 40 -19.0309982
#> 41 5.6448464
#> 42 -2.6690869
#> 43 -0.8158624
#> 44 7.8465303
#> 45 9.7532927
#> 46 9.4925245
#> 47 5.2262048
#> 48 8.0902271
#> 49 -16.6877761
#> 50 -4.4253622
#> 51 7.8792972
#> 52 17.2104463
#> 53 4.1800341
#> 54 3.7262245
#> 55 0.6448680
#> 56 -16.9228102
#> 57 -5.5677031
#> 58 4.9650557
#> 59 -21.9889297
#> 60 12.2838592
#> 61 6.4956303
#> 62 -1.8916952
#> 63 9.1799010
#> 64 7.6185814
#> 65 -6.2696063