avg_num_alleles_per_locus: Estimate the estimated number of alleles (copies) per locus

View source: R/genetic_diversity.R

avg_num_alleles_per_locusR Documentation

Estimate the estimated number of alleles (copies) per locus

Description

Function is ‘experimental' and requires validation to asses it’s value

Usage

avg_num_alleles_per_locus(cnr, exclude.chr = NULL, chrom.col = "bin.chrom")

Arguments

cnr

a cnr bundle

exclude.chr

chromosomes to exclude, default X, Y

chrom.col

name of column containing chromosomes

Value

Estimates the number of alleles (copies per locus), across the population.

Function is ‘experimental' and requires validation to asses it’s value

Examples

data(cnr)

avg_num_alleles_per_locus(cnr)

avg_num_alleles_per_locus(cnr, exclude.chr = c("X", "Y"))


SingerLab/gac documentation built on Oct. 14, 2022, 4:09 a.m.