Learn R Programming

hierfstat (version 0.5-11)

diploid: A genetic dataset from a diploid organism

Description

A simple diploid dataset, with allele encoded as one digit number

Usage

data(diploid)

Arguments

Format

A data frame with 44 rows and 6 columns:

Pop

Population identifier, from 1 to 6

loc-1

genotype at loc-1 (only allele 4 present)

loc-2

genotype at loc-1 (alleles 3 and 4)

loc-3

genotype at loc-1 (alleles 2, 3 and 4)

loc-4

genotype at loc-1 (alleles 1, 2, 3 and 4)

loc-5

genotype at loc-1 (only allele 4)

...

Examples

Run this code
# NOT RUN {
data(diploid)
basic.stats(diploid)

# }

Run the code above in your browser using DataLab