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.

Value

List format of references refL[[refname]][[locname]]$adata


[Package casesolver version 1.7.3 Index]