FreqHetero: Build Observed Distribution of No. of Heterozygous loci

Description Usage Arguments Details Value Examples

View source: R/FreqHetero.R

Description

Build Observed Distribution of No. of Heterozygous loci

Usage

1

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

1
2
h<-matrix(rbinom(20,1,0.5),nrow=5)
FreqHetero(h)

mixIndependR documentation built on March 17, 2021, 5:09 p.m.