Learn R Programming

pcadapt

R package {pcadapt} was developed to detect genetic markers involved in biological adaptation. This package uses statistical tools for outlier detection based on Principal Component Analysis (PCA).

A tutorial for {pcadapt} is available on pcadapt's website.

News: Our paper describing version 4 of pcadapt (which has been available for quite some time now) is out. Please cite the newest paper (see Refs below).

Installation

# From CRAN
install.packages("pcadapt")

# From GitHub
remotes::install_github("bcm-uga/pcadapt")

References

Copy Link

Version

Install

install.packages('pcadapt')

Monthly Downloads

766

Version

4.4.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Florian Privé

Last Published

September 24th, 2024

Functions in pcadapt (4.4.0)

hist_plot

Neutral Distribution Estimation
get.score.color

Population colorization
score_plot

Principal Components Analysis Scores Plot
scree_plot

Principal Components Analysis Scree Plot
writeBed

Write PLINK files
plot.pcadapt

pcadapt visualization tool
read.pcadapt

File Converter
run.pcadapt

Shiny app
pcadapt

Principal Component Analysis for outlier detection
print_convert

Summary
vcf_convert

Convert vcfR genotype matrices
vcf2pcadapt

vcfR-based converter
qq_plot

p-values Q-Q Plot
bed2matrix

Convert a bed to a matrix
get.pc

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

Convert ped files
get_statistics

pcadapt statistics
manhattan_plot

Manhattan Plot
get.pop.names

Retrieve population names