allele.match: Allele match.

Description Usage Arguments Details Value Author(s) Examples

Description

Compares alleles across different individuals in a hap object.

Usage

1
allele.match(hap, result = c("count", "percent"), graph = F)

Arguments

hap

An object of type gbs.

result

The values to be returned. Either the number of matched calls (count), percent identitiy, or both.

histgraph

Logical value to graph results.

Details

This function ignores missing data and heterozygous calls.

Value

A matrix with upper triangle equal to the percent identity of the individuals and lower triangle equal to the proportion of alleles that match between two individuals.

Author(s)

Narinder Singh, nss470@ksu.edu

Trevor Rife, trife@ksu.edu

Examples

1
2
data(wheat)
percId = allele.match(hap$calls,graph=T)

trife/gbs documentation built on May 31, 2019, 7:53 p.m.