Fis computes observed Heterozygosity (Hobs), expected
Heterozygosity (Hexp; Nei, 1978) and Fis from ramets or genets.
Usage
Fis(data1, vecpop, genet = FALSE, RR = FALSE)
Arguments
data1
a Rclone table with one allele per column for diploid data.
vecpop
vector, option, vecpop indicates the population name of each unit
of data1, if data1 contains several populations.
If data1 contains only one population, leave vecpop = NULL.
genet
option, if TRUE, data1 is reduced to genets.
RR
option, if TRUE, Fis and allelic frequencies are computed
with Round-Robin method.
Value
a table with Hobs, Hexp and Fis for each locus.
If RR = TRUE, a list of the Hobs/Hexp/Fis table and another
table with Round-Robin frequencies.
If data1 is a multi-population table, a list of table(s) for each population.