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