Learn R Programming

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

adegenet (version 2.0.0)

Exploratory Analysis of Genetic and Genomic Data

Description

Toolset for the exploration of genetic and genomic data. Adegenet provides formal (S4) classes for storing and handling various genetic data, including genetic markers with varying ploidy and hierarchical population structure ('genind' class), alleles counts by populations ('genpop'), and genome-wide SNP data ('genlight'). It also implements original multivariate methods (DAPC, sPCA), graphics, statistical tests, simulation tools, distance and similarity measures, and several spatial methods. A range of both empirical and simulated datasets is also provided to illustrate various methods.

Copy Link

Version

Install

install.packages('adegenet')

Monthly Downloads

11,001

Version

2.0.0

License

GPL (>= 2)

Maintainer

Last Published

July 7th, 2015

Functions in adegenet (2.0.0)

adegenet.package

The adegenet package
a-score

Compute and optimize a-score for Discriminant Analysis of Principal Components (DAPC)
coords.monmonier

Returns original points in results paths of an object of class 'monmonier'
dapcIllus

Simulated data illustrating the DAPC
nancycats

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

Genetic transitive graphs
read.snp

Reading Single Nucleotide Polymorphism data
monmonier

Boundary detection using Monmonier algorithm
hybridize

Simulated hybridization between two samples of populations
Inbreeding estimation

Likelihood-based estimation of inbreeding
read.genetix

Reading data from GENETIX
tab

Access allele counts or frequencies
find.clusters

find.cluster: cluster identification using successive K-means
initialize,genpop-method

genpop constructor
Adegenet servers

Web servers for adegenet
as methods in adegenet

Converting genind/genpop objects to other classes
fasta2DNAbin

Read large DNA alignments into R
isPoly-methods

Assess polymorphism in genind/genpop objects
repool

Pool several genotypes into a single dataset
eHGDP

Extended HGDP-CEPH dataset
seqTrack

SeqTrack algorithm for reconstructing genealogies
chooseCN

Function to choose a connection network
df2genind

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

Simulation of simple genlight objects
microbov

Microsatellites genotypes of 15 cattle breeds
read.fstat

Reading data from Fstat
genind class

adegenet formal class (S4) for individual genotypes
genlight auxiliary functions

Auxiliary functions for genlight objects
findMutations

Identify mutations between DNA sequences
seppop

Separate genotypes per population
read.structure

Reading data from STRUCTURE
Website and tutorials

Web resources for adegenet
HWE.test.genind

Hardy-Weinberg Equilibrium test for multilocus data
hier

Access and manipulate the population hierarchy for genind or genlight objects.
dist.genpop

Genetic distances between populations
old2new_genind

Convert objects with obsolete classes into new objects
seploc

Separate data per locus
global.rtest

Global and local tests
initialize,genind-method

genind constructor
genind2genpop

Conversion from a genind to a genpop object
snpposi

Analyse the position of polymorphic sites
Auxiliary functions

Auxiliary functions for adegenet
genpop class

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

Compute allelic frequencies
truenames

Restore true labels of an object
propShared

Compute proportion of shared alleles
H3N2

Seasonal influenza (H3N2) HA segment data
glPca

Principal Component Analysis for genlight objects
extract.PLINKmap

Reading PLINK Single Nucleotide Polymorphism data
spcaIllus

Simulated data illustrating the sPCA
pairDistPlot

Pairwise distance plots
sim2pop

Simulated genotypes of two georeferenced populations
Accessors

Accessors for adegenet objects
SNPbin-class

Formal class "SNPbin"
DAPC cross-validation

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

Virtual classes for adegenet
scaleGen

Compute scaled allele frequencies
Hs

Expected heterozygosity
genind2df

Convert a genind object to a data.frame.
haploGen

Simulation of genealogies of haplotypes
as.SNPbin

Conversion to class "SNPbin"
dapc

Discriminant Analysis of Principal Components (DAPC)
import2genind

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

Formal class "genlight"
glPlot

Plotting genlight objects
colorplot

Represents a cloud of points with colors
loadingplot

Represents a cloud of points with colors
propTyped-methods

Compute the proportion of typed elements
as.genlight

Conversion to class "genlight"
dapc graphics

Graphics for Discriminant Analysis of Principal Components (DAPC)
spca

Spatial principal component analysis
SequencesToGenind

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

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

Extract Single Nucleotide Polymorphism (SNPs) from alignments
selPopSize

Select genotypes of well-represented populations
read.genepop

Reading data from Genepop
strata

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

Manipulate the population factor of genind objects.