allStates: Conversion Table for all labelling schemes

Description Usage Arguments Value Author(s) Examples

Description

Conversion table for all numbering schemes: label, vector, lexicographic, and if there are 4 gametes jacquard15 and jacquard9.

Usage

1
allStates(ngam)

Arguments

ngam

Number of gametes

Value

A data.frame is returned with the following variables:

$label : vector of all labels from 0 to maxlabel $vec : matrix of all state vectors (one per row) corresponding to labels. $lex : vector of lexicographic states for each label

if there are 4 gametes there is also

$jaq9 : vector of un-phased jacquard states $jaq15 : vector of phased jacquard states

Invalid labels produce NA in the other columns.

Author(s)

Fiona Grimson

Examples

1
2
3
4
5
## create lookup matrix

allStates( ngam = 4 )

allStates( ngam = 5 )

IBDlabels documentation built on May 2, 2019, 5:54 p.m.