Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

diploid

A genetic dataset from a diploid organism


Description

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

Usage

data(diploid)

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)

...

Source

Given in Weir, B.S. Genetic Data Analysis. Sinauer

Examples

data(diploid)
basic.stats(diploid)

hierfstat

Estimation and Tests of Hierarchical F-Statistics

v0.5-10
GPL (>= 2)
Authors
Jerome Goudet [aut, cre], Thibaut Jombart [aut], Zhian N. Kamvar [ctb], Eric Archer [ctb], Olivier Hardy [ctb]
Initial release
2021-11-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.