View source: R/related2matrix.R
related2matrix | R Documentation |
Convert output from related 'coancestry' fuction into a matrix
related2matrix(
x,
method = c("ritland", "wang", "lynchli", "lynchrd", "quellergt", "dyadml", "trioml"),
rows = NULL,
cols = NULL
)
x |
Output from related's coancestry() function |
method |
Relatedness estimator to use |
rows |
A character vector to subset the rows of the matrix |
cols |
A character vector to subset the columns of the matrix |
A matrix of relatedness estimates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.