Description Usage Arguments Value Examples

This function checks and formats data for input into SEAGLE function

1 | ```
prep.SEAGLE(y, X, intercept, E, G)
``` |

`y` |
Vector of observed phenotypes |

`X` |
Matrix of covariates without genetic marker interactions |

`intercept` |
1 if the first column of X is the all ones vector, 0 otherwise |

`E` |
E Vector of environmental covariates |

`G` |
G Matrix of genotype data |

List object containing prepared data for input into SEAGLE function

1 2 | ```
dat <- makeSimData(H=cosihap, n=500, L=10, gammaG=1, gammaGE=0, causal=4, seed=1)
objSEAGLE <- prep.SEAGLE(y=dat$y, X=dat$X, intercept=1, E=dat$E, G=dat$G)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.