Man pages for dartR
Importing and Analysing 'SNP' and 'Silicodart' Data Generated by Genome-Wide Restriction Fragment Analysis

bandicoot.glA genlight object created via the read.dart functions
cbind.dartRadjust cbind for dartR
gi2glConverts a genind object into a genlight object
gl2bayescanConverts a genlight object into a format suitable for input...
gl2bppConverts a genlight object into a format suitable for input...
gl2demerelateCreates a dataframe suitable for input to package...
gl2eigenstratConverts a genlight object into eigenstrat format
gl2fastaConcatenates DArT trimmed sequences and outputs a FASTA file
gl2faststructureConverts a genlight object into faststructure format (to run...
gl2gdsConverts a genlight object into gds format
gl2genalexConverts a genlight object into a format suitable for input...
gl2genepopConverts a genlight object into genepop format (and file)
gl2genoConverts a genlight object to geno format from package LEA
gl2giConverts a genlight object to genind object
gl2hiphopConverts a genlight objects into hiphop format
gl2phylipCreates a Phylip input distance matrix from a genlight (SNP)...
gl2plinkConverts a genlight object into PLINK format
gl2relatedConverts a genlight object to format suitable to be run with...
gl2saConverts genlight objects to the format used in the SNPassoc...
gl2sfsConverts a genlight object into a sfs input file
gl2shpConverts a genlight object to ESRI shapefiles or kml files
gl2snappConverts a genlight object to nexus format suitable for...
gl2structureConverts a genlight object to STRUCTURE formatted files
gl2svdquartetsConverts a genlight object to nexus format PAUP SVDquartets
gl2treemixConverts a genlight object to a treemix input file
gl2vcfConverts a genlight object into vcf format
gl.alfCalculates allele frequency of the first and second allele...
gl.amovaPerforms AMOVA using genlight data
gl.assign.grmPopulation assignment using grm
gl.assign.mahalanobisAssign an individual of unknown provenance to population...
gl.assign.paEliminates populations as possible source populations for an...
gl.assign.pcaAssign an individual of unknown provenance to population...
gl.basic.statsCalculates basic statistics for each loci (Hs, Ho, Fis etc.)
gl.blastAligns nucleotides sequences against those present in a...
gl.check.verbosityChecks the current global verbosity
gl.collapseCollapses a distance matrix by amalgamating populations with...
gl.compliance.checkChecks a genlight object to see if it complies with dartR...
gl.costdistancesCalculates cost distances for a given landscape (resistance...
gl.define.popDefines a new population in a genlight object for specified...
gl.diagnostics.hweProvides descriptive stats and plots to diagnose potential...
gl.diagnostics.simComparing simulations against theoretical expectations
gl.dist.indCalculates a distance matrix for individuals defined in a...
gl.dist.popCalculates a distance matrix for populations with SNP...
gl.drop.indRemoves specified individuals from a genlight object
gl.drop.locRemoves specified loci from a genlight object
gl.drop.popRemoves specified populations from a genlight object
gl.edit.recode.indCreates or edits individual (=specimen) names, creates a...
gl.edit.recode.popCreates or edits a population re-assignment table
gl.evannoCreates an Evanno plot from a STRUCTURE run object
gl.fdsimEstimates the rate of false positives in a fixed difference...
gl.filter.allnaFilters loci that are all NA across individuals and/or...
gl.filter.callrateFilters loci or specimens in a genlight {adegenet} object...
gl.filter.hammingFilters loci based on pairwise Hamming distance between...
gl.filter.heterozygosityFilters individuals with average heterozygosity greater than...
gl.filter.hweFilters loci that show significant departure from...
gl.filter.ldFilters loci based on linkage disequilibrium (LD)
gl.filter.locmetricFilters loci on the basis of numeric information stored in...
gl.filter.mafFilters loci on the basis of minor allele frequency (MAF) in...
gl.filter.monomorphsFilters monomorphic loci, including those with all NAs
gl.filter.overshootFilters loci for which the SNP has been trimmed from the...
gl.filter.paFilters loci that contain private (and fixed alleles) between...
gl.filter.parent.offspringFilters putative parent offspring within a population
gl.filter.rdepthFilters loci based on counts of sequence tags scored at a...
gl.filter.reproducibilityFilters loci in a genlight {adegenet} object based on average...
gl.filter.secondariesFilters loci that represent secondary SNPs in a genlight...
gl.filter.sexlinkedFilters loci that are sex linked
gl.filter.taglengthFilters loci in a genlight {adegenet} object based on...
gl.fixed.diffGenerates a matrix of fixed differences and associated...
gl.fst.popCalculates a pairwise Fst values for populations in a...
gl.genleastcostPerforms least-cost path analysis based on a friction matrix
gl.grmCalculates an identity by descent matrix
gl.grm.networkRepresents a genomic relationship matrix (GRM) as a network
gl.HeEstimates expected Heterozygosity
gl.HoEstimates observed Heterozygosity
gl.hwe.popPerforms Hardy-Weinberg tests over loci and populations
gl.ibdPerforms isolation by distance analysis
gl.imputeImputates missing data
gl.install.vanilla.dartRInstalls all required packages for using all functions...
gl.joinCombines two genlight objects
gl.keep.indRemoves all but the specified individuals from a genlight...
gl.keep.locRemoves all but the specified loci from a genlight object
gl.keep.popRemoves all but the specified populations from a genlight...
gl.ld.distancePlots linkage disequilibrium against distance by population...
gl.ld.haplotypeVisualize patterns of linkage disequilibrium and...
gl.LDNeEstimates effective population size using the Linkage...
gl.list.reportsPrints dartR reports saved in tempdir
gl.loadLoads an object from compressed binary format produced by...
gl.make.recode.indCreates a proforma recode_ind file for reassigning individual...
gl.make.recode.popCreates a proforma recode_pop_table file for reassigning...
gl.map.interactiveCreates an interactive map (based on latlon) from a genlight...
gl.map.structureMaps a STRUCTURE plot using a genlight object
gl.merge.popMerges two or more populations in a genlight object into one...
gl.nhybridsCreates an input file for the program NewHybrids and runs it...
gl.outflankIdentifies loci under selection per population using the...
gl.pcoaOrdination applied to genotypes in a genlight object (PCA),...
gl.pcoa.plotBivariate or trivariate plot of the results of an ordination...
gl.percent.freqGenerates percentage allele frequencies by locus and...
gl.play.historyReplays the history and applies it to a genlight object
gl.plot.heatmapRepresents a distance matrix as a heatmap
gl.plot.networkRepresents a distance or dissimilarity matrix as a network
gl.plot.structurePlots STRUCTURE analysis results (Q-matrix)
gl.print.historyPrints history of a genlight object
gl.print.reportsPrints dartR reports saved in tempdir
gl.propSharedCalculates a similarity (distance) matrix for individuals on...
gl.random.snpRandomly changes the allocation of 0's and 2's in a genlight...
gl.read.csvReads SNP data from a csv file into a genlight object
gl.read.dartImports DArT data into dartR and converts it into a genlight...
gl.read.fastaReads FASTA files and converts them to genlight object
gl.read.silicodartImports presence/absence data from SilicoDArT to genlight...
gl.read.vcfConverts a vcf file into a genlight object
gl.reassign.popAssigns an individual metric as pop in a genlight {adegenet}...
gl.recalc.metricsRecalculates locus metrics when individuals or populations...
gl.recode.indRecodes individual (=specimen = sample) labels in a genlight...
gl.recode.popRecodes population assignments in a genlight object
gl.rename.popRenames a population in a genlight object
gl.report.basesReports summary of base pair frequencies
gl.report.callrateReports summary of Call Rate for loci or individuals
gl.report.diversityCalculates diversity indexes for SNPs
gl.report.hammingCalculates the pairwise Hamming distance between DArT trimmed...
gl.report.heterozygosityReports observed, expected and unbiased heterozygosities and...
gl.report.hweReports departure from Hardy-Weinberg proportions
gl.report.ldCalculates pairwise population based Linkage Disequilibrium...
gl.report.ld.mapCalculates pairwise linkage disequilibrium by population
gl.report.locmetricReports summary of the slot $other$loc.metrics
gl.report.mafReports minor allele frequency (MAF) for each locus in a SNP...
gl.report.monomorphsReports monomorphic loci
gl.report.overshootReports loci for which the SNP has been trimmed from the...
gl.report.paReports private alleles (and fixed alleles) per pair of...
gl.report.parent.offspringIdentifies putative parent offspring within a population
gl.report.rdepthReports summary of Read Depth for each locus
gl.report.reproducibilityReports summary of RepAvg (repeatability averaged over both...
gl.report.secondariesReports loci containing secondary SNPs in sequence tags and...
gl.report.sexlinkedIdentifies loci that are sex linked
gl.report.taglengthReports summary of sequence tag length across loci
gl.run.structureRuns a STRUCTURE analysis using a genlight object
gl.sampleSamples individuals from populations
gl.saveSaves an object in compressed binary format for later rapid...
gl.select.colorsSelects colors from one of several palettes and output as a...
gl.select.shapesSelects shapes from the base R shape palette and outputs as a...
gl.set.verbositySets the default verbosity level
gl.sfsCreates a site frequency spectrum based on a dartR or...
gl.sim.create_dispersalCreates a dispersal file as input for the function...
gl.sim.emigrationSimulates emigration between populations
gl.sim.indSimulates individuals based on the allele frequencies...
gl.sim.mutateSimulates mutations within a genlight object
gl.sim.offspringSimulates a specified number of offspring based on alleles...
gl.sim.WF.runRuns Wright-Fisher simulations
gl.sim.WF.tableCreates the reference table for running gl.sim.WF.run
gl.smearplotSmear plot of SNP or presence/absence (SilicoDArT) data
gl.sortre-sorts genlight objects
gl.spatial.autoCorrSpatial autocorrelation following Smouse and Peakall 1999
gl.subsample.lociSubsamples n loci from a genlight object and return it as a...
gl.test.heterozygosityTests the difference in heterozygosity between populations...
gl.tree.njOutputs an nj tree to summarize genetic similarity among...
gl.write.csvWrites out data from a genlight object to csv file
interactive_referenceShiny app for the input of the reference table for the...
interactive_sim_runShiny app for the input of the simulations variables
is.fixedTests if two populations are fixed at a given locus
platyExample data set as text file to be imported into a genlight...
possums.glA simulated genlight object created to run a landscape...
rbind.dartRadjust rbind for dartR
sub-dartR-ANY-ANY-ANY-methodindexing dartR objects correctly...
testset.glA genlight object created via the gl.read.dart function
testset.gsA genlight object created via the gl.read.silicodart function
testset_metadataMetadata file. Can be integrated via the dart2genlight...
testset_pop_recodeRecode file to be used with the function.
testset_SNPs_2RowTestfile in DArT format (as provided by DArT)
theme_dartRdartR theme
utils.assignmentPopulation assignment probabilities
utils.assignment_2Population assignment probabilities
utils.assignment_3Population assignment probabilities
utils.assignment_4Population assignment probabilities
utils.basic.statsCalculates mean observed heterozygosity, mean expected...
utils.check.datatypeUtility function to check the class of an object passed to a...
utils.dart2genlightConverts DarT to genlight
utils.dist.binaryCalculates a distance matrix for individuals defined in a...
utils.dist.ind.snpCalculates a distance matrix for individuals defined in a...
utils.flag.startA utility script to flag the start of a script
utils.hammingCalculates the Hamming distance between two DArT trimmed DNA...
utils.het.popCalculates expected mean expected heterozygosity per...
utils.jackknifeConducts jackknife resampling using a genlight object
utils.n.var.invariantA utility script to calculate the number of variant and...
utils.outflankOutFLANK: An Fst outlier approach by Mike Whitlock and Katie...
utils.outflank.MakeDiploidFSTMatCreates OutFLANK input file from individual genotype info.
utils.outflank.plotterPlotting functions for Fst distributions after OutFLANK
utils.read.dartImports DarT data to R
utils.recalc.avgpicA utility script to recalculate the OneRatioRef, OneRatioSnp,...
utils.recalc.callrateA utility script to recalculate the callrate by locus after...
utils.recalc.freqhetsA utility script to recalculate the frequency of the...
utils.recalc.freqhomrefA utility script to recalculate the frequency of the...
utils.recalc.freqhomsnpA utility script to recalculate the frequency of the...
utils.recalc.mafA utility script to recalculate the minor allele frequency by...
utils.reset.flagsA utility script to reset to FALSE (or TRUE) the locus metric...
utils.spautocorSpatial autocorrelation coefficient calculations
utils.structure.evannoUtil function for evanno plots
utils.structure.genind2gtypesstructure util functions
utils.structure.runUtility function to run Structure
zzzSetting up the package
dartR documentation built on June 8, 2023, 6:48 a.m.