Learn R Programming

⚠️There's a newer version (4.4.0) of this package.Take me there.

pcadapt

pcadapt has been developed to detect genetic markers involved in biological adaptation. pcadapt provides statistical tools for outlier detection based on Principal Component Analysis (PCA).

To run the package, you can install it from CRAN:

install.packages("pcadapt")
library(pcadapt)

A tutorial for pcadapt is available. To access to the vignette, type the following command in your R console:

browseVignettes("pcadapt")

If you desire to install from GitHub, run the following commands:

install.packages("devtools")
devtools::install_github("BioShock38/pcadapt")

Reference

Luu, Keurcien, Eric Bazin, and Michael GB Blum. "pcadapt: an R package to perform genome scans for selection based on principal component analysis." bioRxiv (2016): 056135.

Copy Link

Version

Install

install.packages('pcadapt')

Monthly Downloads

821

Version

3.0.4

License

GPL (>= 2)

Maintainer

Keurcien Luu

Last Published

January 2nd, 2017

Functions in pcadapt (3.0.4)

corpca

Principal Component Analysis based on the correlation matrix
cover.to.pool

Simulate frequency matrix from genotype and coverage matrices
create.pcadapt.pool

pcadapt objects
compute.pval

Principal Components p-values
get.pool.matrix

Convert genotypes to pooled samples
get.pop.names

Retrieve population names
get.score.color

Population colorization
convert.line

Convert genotype information obtained with vcfR
read.pcadapt

File Converter
sample.geno

Sample genotype matrix from pooled samples
manhattan.plotting

Manhattan Plot
neutral.plotting

Neutral Distribution Estimation
plot.pcadapt

pcadapt visualization tool
pvalqq.plotting

p-values Q-Q Plot
pcadapt-package

Principal Component Analysis for Outlier Detection.
score.plotting

Principal Components Analysis Scores Plot
scree.plotting

Principal Components Analysis Scree Plot
create.pcadapt

pcadapt objects
vcf2pcadapt

vcfR-based converter
get.pc

Get the principal component the most associated with a genetic marker
pcadapt

Principal Component Analysis for outlier detection