calc.rho: Calculate rho (private alleles)

Description Usage Arguments Note

View source: R/gwscaR_popgen.R

Description

Calculate rho (private alleles)

Usage

1
calc.rho(vcf.row, pop.list)

Arguments

vcf.row

A row of a data frame containing vcf-formatted data

pop.list

A list with the population names (these should be contained within the sample names)

Note

rho=1 if allele in pop j is only found in that pop and at least one ind was genotyped at that site in each pop; rho = 0 otherwise


spflanagan/gwscaR documentation built on Nov. 14, 2019, 9:16 p.m.