related2matrix: Convert output from related 'coancestry' fuction into a...

View source: R/related2matrix.R

related2matrixR Documentation

Convert output from related 'coancestry' fuction into a matrix

Description

Convert output from related 'coancestry' fuction into a matrix

Usage

related2matrix(
  x,
  method = c("ritland", "wang", "lynchli", "lynchrd", "quellergt", "dyadml", "trioml"),
  rows = NULL,
  cols = NULL
)

Arguments

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

Value

A matrix of relatedness estimates


chollenbeck/pantomime documentation built on June 16, 2024, 1:45 a.m.