FreqAlleleShare: Build Observed Distribution of No. of Shared Alleles

Description Usage Arguments Details Value Examples

View source: R/FreqAlleleShare.R

Description

Build Observed Distribution of No. of Shared Alleles

Usage

1

Arguments

AS

a matrix of number of shared alleles, made up with 0, 1 and 2, outcome of function "AlleleShare_Table". Rows for individuals, and columns for markers.

Details

This function build the observed distributions from observed Allele Share table, made up of 0,1 and 2.

Value

a dataframe of frequencies of each number of shared alleles(from 0 to 2*N0. of loci)

Examples

1
2
AS<-matrix(sample(c(0:2),20,replace=TRUE,prob=c(0.3,0.3,0.4)),nrow=5)
FreqAlleleShare(AS)

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