FreqHetero {mixIndependR} | R Documentation |
Build Observed Distribution of No. of Heterozygous loci
Description
Build Observed Distribution of No. of Heterozygous loci
Usage
FreqHetero(h)
Arguments
h |
a dataframe of heterozygosity, made up with 0 and 1, outcome of function "Heterozygous" Rows for individuals, and columns for markers. |
Details
This function build the observed distributions from observed heterozygosity table, made up of 0,1.
Value
a dataframe of frequencies of each number of heterozygous loci(from 0 to No. of loci)
Examples
h<-matrix(rbinom(20,1,0.5),nrow=5)
FreqHetero(h)
[Package mixIndependR version 1.0.0 Index]