tabToListRef {casesolver}R Documentation

tabToListRef

Description

Function to convert a matrix to list format.

Usage

tabToListRef(tab, ln = NULL, forceDi = TRUE)

Arguments

tab

A (nR x nL) matrix with rows giving locus specific genotypes (for each column) for references

ln

Loci names of return list

forceDI

Whether genotypes are restricted to contain 2 alleles or not.

Details

Used to convert reference data stored in matrix to list format required by functions.


[Package casesolver version 1.4.0 Index]