This function takes a genomic relationship matrix (i.e. one generated by
the `A.mat`

function in `rrBLUP`

), performs a singular value
decomposition, and plots the designated principal components.

1 |

`G` |
A genomic relationship |

`x.PC` |
The principal component to plot on the x-axis. |

`y.PC` |
The principal component to plot on the y-axis. |

`col` |
A |

`scree` |
A |

`return.data` |
A |

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.