asTasselDistanceMatrix: Coerce matrix to TasselDistanceMatrix object

View source: R/analysis_relatedness_functions.R

asTasselDistanceMatrixR Documentation

Coerce matrix to TasselDistanceMatrix object

Description

Coerces an object of matrix class into an rTASSEL object of TasselDistanceMatrix class.

Usage

asTasselDistanceMatrix(m)

Arguments

m

An object of matrix class of m \times m structure (e.g. a pairwise matrix). Additionally, row and column names must be the same.

Value

Returns a TasselDistanceMatrix object.


maize-genetics/rTASSEL documentation built on Nov. 13, 2023, 7:18 a.m.