ph_list_to_matrix: Linkage phase format conversion: list to matrix. Function...

View source: R/utils_helpers.R

ph_list_to_matrixR Documentation

Linkage phase format conversion: list to matrix. Function from MAPpoly.

Description

This function converts linkage phase configurations from list to matrix form

Usage

ph_list_to_matrix(L, ploidy)

Arguments

L

a list of configuration phases

ploidy

ploidy level

Value

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


viewpoly documentation built on May 29, 2024, 1:26 a.m.