Learn R Programming

mappoly (version 0.2.3)

ph_list_to_matrix: Linkage phase format conversion: list to matrix

Description

This function converts linkage phase configurations from list to matrix form

Usage

ph_list_to_matrix(L, m)

Arguments

L

a list of configuration phases

m

ploidy level

Value

a matrix whose columns represent homologous chromosomes and the rows represent markers