PicCalc: PIC Calculator (Depreciated)

Description Usage Arguments Value Author(s) Examples

View source: R/PicCalc.R

Description

***This function has been superseded by PIC.

Usage

1

Arguments

data

A matrix of genotypes, where each column is one individual, each row is one marker, and marker values are 1, 0, or -1, where 0 represents missing data. All data in this matrix must be numeric.

Value

The mean PIC of all markers included for the given set of genotypes.

Author(s)

Ryan C. Graebner and Alfonso Cuesta-Marcos

Examples

1
2
data("genotypes")
PicCalc(genotypes)

Example output

[1] 0.2830495

GeneticSubsetter documentation built on May 2, 2019, 3:56 a.m.