crypticPValues: P-value for test of Cryptic Relatedness

Description Usage Arguments Value Examples

Description

Get the cryptic relatedness p-values from a stego object. This is a test of the null hypotheses that the data is derived a homogeneous population.

Usage

1

Arguments

stego

a stego result object

Value

p-value for test or a list a p-values from each group

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(toyGenotypes)

run_stegotoyGenotypes)
labels <- c(rep("Group A",100), rep("Group B",100))
run_stegotoyGenotypes, groups="each.separately", labels=labels)

labels <- paste("Group",c(LETTERS[rep(1:4,25)],LETTERS[rep(5:8,25)]))
super <- c(rep("Super A",100), rep("Super B",100))
res <- run_stegotoyGenotypes, groups="pairwise.within.superpop", labels=labels, super=super)
crypticPValues(res)

dschlauch/WESTGO documentation built on May 15, 2019, 2:58 p.m.