Learn R Programming

pcadapt (version 3.0.4)

compute.pval: Principal Components p-values

Description

compute.pval computes p-values for each genetic marker, depending on the test statistics distribution.

Usage

compute.pval(st, K, method)

Arguments

st
a chi-square statistic.
K
an integer specifying the number of principal components to retain.
method
a character string specifying the method to be used to compute the p-values.

Examples

Run this code
## see ?pcadapt for examples

Run the code above in your browser using DataLab