fixed.diffs: Identify fixed differences between a pair of samples

Description Usage Arguments Details Value See Also

Description

Identify fixed differences between a pair of samples

Usage

1
fixed.diffs(gty, cols = TRUE, ...)

Arguments

gty

a genotypes object

cols

indexing vector for selecting columns from gty

...

ignored

Details

A site is defined to have a "fixed difference" between two samples if they have opposite homozygous genotypes. In contrast to segregating(), this function rejects sites at which either sample is heterozygous or has a missing genotype, rather than marking them with NAs.

If more than two samples are present in the input, an error occurs.

Value

a named logical vector, of length equal to the number of rows in gty, indicating whether a site is a fixed difference between the two samples

See Also

segregating


andrewparkermorgan/argyle documentation built on May 10, 2019, 11:08 a.m.