17
Rindsel: a R package for Selection Indices S. Perez-Elizalde, J. Crossa, J. Ceron-Rojas, and G. Alvarado Biometrics and Statistics Unit CIMMYT and Colegio de Postgraduado, Montecillos, Edo. de Mexico, Mexico

Rindsel : a R package for Selection Indices

Embed Size (px)

DESCRIPTION

Rindsel : a R package for Selection Indices. S. Perez-Elizalde, J. Crossa, J. Ceron-Rojas, and G. Alvarado Biometrics and Statistics Unit CIMMYT and Colegio de Postgraduado , Montecillos , Edo. de Mexico, Mexico. SELECTION INDICES (SI). Phenotypic selection indices - PowerPoint PPT Presentation

Citation preview

Page 1: Rindsel : a R package for Selection Indices

Rindsel: a R package for Selection Indices

S. Perez-Elizalde, J. Crossa, J. Ceron-Rojas, and G. Alvarado

Biometrics and Statistics UnitCIMMYT

and Colegio de Postgraduado, Montecillos, Edo. de Mexico,

Mexico

Page 2: Rindsel : a R package for Selection Indices

SELECTION INDICES (SI)Phenotypic selection indices

• Smith selection index• Restrictive Kempthorne & Nordskog selection index• Eiegen Selection Index Method• Restrictive eigen selection index method

Molecular selection indices

• Lande and Thompson (1990) molecular SI.

• Molecular ESIM (Ceron-Rojas et al., 2008).

Page 3: Rindsel : a R package for Selection Indices

pβYSI gθZ

SMITH SELECTION INDEXTwo basic linear combinations

][ 1 qp...pp

]...[ 1 qβ

Breeding valueSelection Index=SI

Phenotypic values

Coefficients

]...[ 1 qggg Genotypic values

]...[ 1 qθ Economicweights (constant)

Page 4: Rindsel : a R package for Selection Indices

ESIM

0βIS )(

where and are the eigenvalue and eigenvector of , respectively. β S

The selection response is thus maximizing R is

equivalent to maximizing the variance of the SI therefore

the selection response is ΣθΣSθ 1ˆ kR

Sββk

Sββ

Page 5: Rindsel : a R package for Selection Indices

LANDE and THOMPSON

mβpβ mpMY

m

pββ mp

Nmm ...1mwhere each mj (j=1, 2, …, N; N= number of molecular scores) is the sum of the products of the MQTL effects multiplied by the coded values of their corresponding MM

Page 6: Rindsel : a R package for Selection Indices

MESIM

MMMMMM

MMMMZYMM kkR

MM βSβθΣθ

βΣθ

Consider

MMM βΣθ

According to BULMER (1980), maximizing is equivalent to

maximizing the covariance

MM ZY

Since is invariant to scale changes, it is possible to incorporate

two restrictions, and in MESIM

and solutions are

MM ZY

1MMM βSβ 1

MMM θΣθ

0βIQ

0βIΣS

M

MMM

)(

)(2

21

MMMM βSΣθ 1 and

Page 7: Rindsel : a R package for Selection Indices

0βIQ

0βIΣS

M

MMM

)(

)(2

21

Thus, the values that maximize under restrictions

are the eigenvalues

and eigenvectors of matrix Q

MMM βΣθ

1MMM βSβ 1

MMM θΣθ

MβMMM βΣθ

Page 8: Rindsel : a R package for Selection Indices

How to install Rindsel

1) Packages lme4 and Hmisc have to be installed2) From the menu Packages select install package(s)

from local zip file …

2) Select the file Rindsel_1.0.zip from the directory where is located

Page 9: Rindsel : a R package for Selection Indices

Help for Rindsel

• From the menu help of R call the html help browser

• Select the link packages and search for Rindsel

• Or, type help.search() in the R commad promt

Page 10: Rindsel : a R package for Selection Indices

Load Rindsel• From the Packages menu select Load Package.

Available packages are displayed. Select Rindsel• Now, you can use the functions of the package. On the command prompt, write IndexName() to display the main menu

Page 11: Rindsel : a R package for Selection Indices

Lande and Thompon Selection Index

For help about the Lande and Thompson selection index funtion, on the R command prompt write>?LTIndexOr use the htlm help browser

Page 12: Rindsel : a R package for Selection Indices

Example: Lande & Thompson

2. On the R command line or in a script write LTIndex()

if you execute the function without arguments as above defaults options will be used

Page 13: Rindsel : a R package for Selection Indices

3. A window will automatically open requesting the phenotypic data file (field desig and entry x trait responses). Browse the selected file.

Page 14: Rindsel : a R package for Selection Indices

4. Next browse the weigths file

In the firs column of the spreadsheet are the traits names, the second the indicator variable o the selected traits, the third one the economic weights (LTIndex) and the fourth one the desired effect of selection (MESIMIndex)

Page 15: Rindsel : a R package for Selection Indices

The R routine begins to calculate de genetic and phenotypic covariance (correlation) matrices.5. After finished the calculation a window will request for the markers file

Select the file and browse it

Page 16: Rindsel : a R package for Selection Indices

6. Browse the molecular scores file

The file contains thescores and its related marker

Page 17: Rindsel : a R package for Selection Indices

7. Finally, the output file is displayed. There are three output files. A plain text file which contains the selected traits, a copy of this file in csv format is also generated. A third file contains all the traits and their selection index values.

For the MESIM selection index we proceed in the same way. Example: select the 10 percent of traits with the highest values of the MESIM index. Use covariance matrices already calculated. MESIMIndex(selval=10, rawdata=FALSE)