Learn R Programming

GeneticSubsetter (version 0.8)

PicCalc: PIC Calculator (Depreciated)

Description

***This function has been superseded by PIC.

Usage

PicCalc(data)

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.

Examples

Run this code
data("genotypes")
PicCalc(genotypes)

Run the code above in your browser using DataLab