pcadapt objects

Share:

Description

create.pcadapt.pool creates an object of class pcadapt for Pool-Seq data.

Usage

1
create.pcadapt.pool(data, K, min.maf, cover.matrix = NULL)

Arguments

data

a data matrix or a data frame containing the allele frequencies per SNP and per population.

K

an integer specifying the number of principal components to retain.

min.maf

a value between 0 and 0.45 specifying the threshold of minor allele frequencies above which p-values are computed.

cover.matrix

a matrix specifying the average coverage per genetic marker and per population.