Learn R Programming

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

adegenet

adegenet: a R Package for the Multivariate Analysis of Genetic Markers

This wiki is dedicated to the development of adegenet. It is relevant for developers of the package, developers of other packages depending on adegenet, and for users who want to be using the latest features as well.

The adegenet website is available at http://adegenet.r-forge.r-project.org/.

The following sections are available:

Copy Link

Version

Install

install.packages('adegenet')

Monthly Downloads

14,047

Version

2.0.1

License

GPL (>= 2)

Maintainer

Thibaut Jombart

Last Published

February 15th, 2016

Functions in adegenet (2.0.1)

genind class

adegenet formal class (S4) for individual genotypes
Auxiliary functions

Auxiliary functions for adegenet
a-score

Compute and optimize a-score for Discriminant Analysis of Principal Components (DAPC)
haploGen

Simulation of genealogies of haplotypes
nancycats

Microsatellites genotypes of 237 cats from 17 colonies of Nancy (France)
dapc

Discriminant Analysis of Principal Components (DAPC)
minorAllele

Compute minor allele frequency
Hs.test

Test differences in expected heterozygosity (Hs)
genind2genpop

Conversion from a genind to a genpop object
Inbreeding estimation

Likelihood-based estimation of inbreeding
glPlot

Plotting genlight objects
eHGDP

Extended HGDP-CEPH dataset
df2genind

Convert a data.frame of allele data to a genind object.
glSim

Simulation of simple genlight objects
genind2df

Convert a genind object to a data.frame.
genpop class

adegenet formal class (S4) for allele counts in populations
hier

Access and manipulate the population hierarchy for genind or genlight objects.
HWE.test.genind

Hardy-Weinberg Equilibrium test for multilocus data
fasta2DNAbin

Read large DNA alignments into R
monmonier

Boundary detection using Monmonier algorithm
read.snp

Reading Single Nucleotide Polymorphism data
adegenet.package

The adegenet package
setPop

Manipulate the population factor of genind objects.
findMutations

Identify mutations between DNA sequences
pairDistPlot

Pairwise distance plots
glPca

Principal Component Analysis for genlight objects
loadingplot

Represents a cloud of points with colors
chooseCN

Function to choose a connection network
genlight-class

Formal class "genlight"
import2genind

Importing data from several softwares to a genind object
SNPbin-class

Formal class "SNPbin"
propTyped-methods

Compute the proportion of typed elements
spcaIllus

Simulated data illustrating the sPCA
propShared

Compute proportion of shared alleles
old2new_genind

Convert objects with obsolete classes into new objects
tab

Access allele counts or frequencies
Adegenet servers

Web servers for adegenet
as methods in adegenet

Converting genind/genpop objects to other classes
selPopSize

Select genotypes of well-represented populations
H3N2

Seasonal influenza (H3N2) HA segment data
as.genlight

Conversion to class "genlight"
initialize,genind-method

genind constructor
isPoly-methods

Assess polymorphism in genind/genpop objects
read.structure

Reading data from STRUCTURE
colorplot

Represents a cloud of points with colors
makefreq

Compute allelic frequencies
extract.PLINKmap

Reading PLINK Single Nucleotide Polymorphism data
snpposi

Analyse the position of polymorphic sites
truenames

Restore true labels of an object
repool

Pool several genotypes into a single dataset
sim2pop

Simulated genotypes of two georeferenced populations
microbov

Microsatellites genotypes of 15 cattle breeds
initialize,genpop-method

genpop constructor
hybridize

Function hybridize takes two genind in inputs and generates hybrids individuals having one parent in both objects.
seploc

Separate data per locus
genlight auxiliary functions

Auxiliary functions for genlight objects
global.rtest

Global and local tests
strata

Access and manipulate the population strata for genind or genlight objects.
read.fstat

Reading data from Fstat
dist.genpop

Genetic distances between populations
SequencesToGenind

Importing data from an alignement of sequences to a genind object
virtualClasses

Virtual classes for adegenet
spca

Spatial principal component analysis
dapcIllus

Simulated data illustrating the DAPC
find.clusters

find.cluster: cluster identification using successive K-means
read.genetix

Reading data from GENETIX
seqTrack

SeqTrack algorithm for reconstructing genealogies
as.SNPbin

Conversion to class "SNPbin"
Accessors

Accessors for adegenet objects
adegenetWeb

Functions to access online resources for adegenet
Hs

Expected heterozygosity (Hs)
dapc graphics

Graphics for Discriminant Analysis of Principal Components (DAPC)
read.genepop

Reading data from Genepop
coords.monmonier

Returns original points in results paths of an object of class 'monmonier'
DAPC cross-validation

Cross-validation for Discriminant Analysis of Principal Components (DAPC)
gengraph

Genetic transitive graphs
fasta2genlight

Extract Single Nucleotide Polymorphism (SNPs) from alignments
scaleGen

Compute scaled allele frequencies
rupica

Microsatellites genotypes of 335 chamois (Rupicapra rupicapra) from the Bauges mountains (France)
seppop

Separate genotypes per population