Package: polysat 1.7-7
polysat: Tools for Polyploid Microsatellite Analysis
A collection of tools to handle microsatellite data of any ploidy (and samples of mixed ploidy) where allele copy number is not known in partially heterozygous genotypes. It can import and export data in ABI 'GeneMapper', 'Structure', 'ATetra', 'Tetrasat'/'Tetra', 'GenoDive', 'SPAGeDi', 'POPDIST', 'STRand', and binary presence/absence formats. It can calculate pairwise distances between individuals using a stepwise mutation model or infinite alleles model, with or without taking ploidies and allele frequencies into account. These distances can be used for the calculation of clonal diversity statistics or used for further analysis in R. Allelic diversity statistics and Polymorphic Information Content are also available. polysat can assist the user in estimating the ploidy of samples, and it can estimate allele frequencies in populations, calculate pairwise or global differentiation statistics based on those frequencies, and export allele frequencies to 'SPAGeDi' and 'adegenet'. Functions are also included for assigning alleles to isoloci in cases where one pair of microsatellite primers amplifies alleles from two or more independently segregating isoloci. polysat is described by Clark and Jasieniuk (2011) <doi:10.1111/j.1755-0998.2011.02985.x> and Clark and Schreier (2017) <doi:10.1111/1755-0998.12639>.
Authors:
polysat_1.7-7.tar.gz
polysat_1.7-7.zip(r-4.5)polysat_1.7-7.zip(r-4.4)polysat_1.7-7.zip(r-4.3)
polysat_1.7-7.tgz(r-4.4-x86_64)polysat_1.7-7.tgz(r-4.4-arm64)polysat_1.7-7.tgz(r-4.3-x86_64)polysat_1.7-7.tgz(r-4.3-arm64)
polysat_1.7-7.tar.gz(r-4.5-noble)polysat_1.7-7.tar.gz(r-4.4-noble)
polysat_1.7-7.tgz(r-4.4-emscripten)polysat_1.7-7.tgz(r-4.3-emscripten)
polysat.pdf |polysat.html✨
polysat/json (API)
NEWS
# Install 'polysat' in R: |
install.packages('polysat', repos = c('https://lvclark.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/lvclark/polysat/issues
- AllopolyTutorialData - Simulated Allotetraploid Data
- FCRinfo - Additional Data on Rubus Samples
- simgen - Randomly Generated Data for Learning polysat
- testgenotypes - Rubus Genotype Data for Learning polysat
Last updated 2 years agofrom:ab6f69af33. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 01 2024 |
R-4.5-win-x86_64 | OK | Nov 01 2024 |
R-4.5-linux-x86_64 | OK | Nov 01 2024 |
R-4.4-win-x86_64 | OK | Nov 01 2024 |
R-4.4-mac-x86_64 | OK | Nov 01 2024 |
R-4.4-mac-aarch64 | OK | Nov 01 2024 |
R-4.3-win-x86_64 | OK | Nov 01 2024 |
R-4.3-mac-x86_64 | OK | Nov 01 2024 |
R-4.3-mac-aarch64 | OK | Nov 01 2024 |
Exports:AbsentAbsent<-alleleCorrelationsalleleDiversityassignClonesBruvo.distanceBruvo2.distancecalcFstcalcPopDiffcatalanAllelesdeleteLocideleteSamplesDescriptionDescription<-deSilvaFreqeditGenotypesestimatePloidyfind.missing.genfind.na.distfind.na.dist.not.missingfreq.to.genpopgenambig.to.genbinarygenbinary.to.genambiggendata.to.genindgenIndexGenotypeGenotype<-genotypeDiversitygenotypeProbsGenotypesGenotypes<-isMissingLociLoci<-Lynch.distancemeandist.from.arraymeandistance.matrixmeandistance.matrix2mergemergeAlleleAssignmentsMissingMissing<-PICplCollapsepldpld<-PloidiesPloidies<-plotParamHeatmapplotSSAlloPopInfoPopInfo<-PopNamesPopNames<-PopNumPopNum<-PresentPresent<-processDatasetAlloread.ATetraread.GeneMapperread.GenoDiveread.POPDISTread.SPAGeDiread.STRandread.Structureread.TetrasatrecodeAllopolyreformatPloidiesSamplesSamples<-ShannonshowsimAllopolysimpleFreqSimpsonSimpson.varsummarytestAlGroupsUsatntsUsatnts<-viewGenotypeswrite.ATetrawrite.freq.SPAGeDiwrite.GeneMapperwrite.GenoDivewrite.POPDISTwrite.SPAGeDiwrite.Structurewrite.Tetrasat
Dependencies:Rcpp
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Accessor and Replacement Functions for "gendata" Objects | Absent Absent<- Description Description<- Genotype Genotype<- Genotypes Genotypes<- Loci Loci<- Missing Missing<- Ploidies Ploidies<- PopInfo PopInfo<- PopNames PopNames<- PopNum PopNum<- Present Present<- Samples Samples<- Usatnts Usatnts<- |
Assign Alleles to Isoloci Based on Distribution of Genotypes | alleleCorrelations testAlGroups |
Retrieve and Count Unique Alleles | alleleDiversity |
Simulated Allotetraploid Data | AllopolyTutorialData |
Group Individuals Based on a Distance Threshold | assignClones |
Genetic Distance Metric of Bruvo et al. | Bruvo.distance |
Distance Measure of Bruvo et al. under Genome Loss and Addition | Bruvo2.distance |
Estimate Population Differentiation Statistics | calcFst calcPopDiff |
Sort Alleles into Isoloci | catalanAlleles |
Remove Samples or Loci from an Object | deleteLoci deleteSamples |
Estimate Allele Frequencies with EM Algorithm | deSilvaFreq |
Edit Genotypes Using the Data Editor | editGenotypes |
Estimate Ploidies Based on Allele Counts | estimatePloidy |
Additional Data on Rubus Samples | FCRinfo |
Find Missing Genotypes | find.missing.gen |
Convert Allele Frequencies for Adegenet | freq.to.genpop |
Class "genambig" | deleteLoci,genambig-method deleteSamples,genambig-method editGenotypes,genambig-method estimatePloidy,genambig-method genambig-class Genotype,genambig-method Genotype<-,genambig-method Genotypes,genambig-method Genotypes<-,genambig-method initialize,genambig-method isMissing,genambig-method Loci<-,genambig-method Missing<-,genambig-method Samples<-,genambig-method show,genambig-method summary,genambig-method viewGenotypes,genambig-method [,genambig-method |
Convert Between Genotype Object Classes | genambig.to.genbinary genbinary.to.genambig |
Class "genbinary" | Absent,genbinary-method Absent<-,genbinary-method deleteLoci,genbinary-method deleteSamples,genbinary-method editGenotypes,genbinary-method estimatePloidy,genbinary-method genbinary-class Genotype,genbinary-method Genotypes,genbinary-method Genotypes<-,genbinary-method initialize,genbinary-method isMissing,genbinary-method Loci<-,genbinary-method Missing<-,genbinary-method Present,genbinary-method Present<-,genbinary-method Samples<-,genbinary-method summary,genbinary-method viewGenotypes,genbinary-method [,genbinary-method |
Class "gendata" | deleteLoci,gendata-method deleteSamples,gendata-method Description,gendata-method Description<-,gendata-method gendata-class initialize,gendata-method Loci,gendata,missing,missing-method Loci,gendata,missing,numeric-method Loci,gendata,numeric,missing-method Loci,gendata,numeric,numeric-method Loci<-,gendata-method Missing,gendata-method Missing<-,gendata-method Ploidies,gendata-method Ploidies<-,gendata-method PopInfo,gendata-method PopInfo<-,gendata-method PopNames,gendata-method PopNames<-,gendata-method PopNum,gendata,character-method PopNum<-,gendata,character-method Samples,gendata,character,missing-method Samples,gendata,character,numeric-method Samples,gendata,missing,missing-method Samples,gendata,missing,numeric-method Samples,gendata,numeric,missing-method Samples,gendata,numeric,numeric-method Samples<-,gendata-method summary,gendata-method Usatnts,gendata-method Usatnts<-,gendata-method [,gendata-method |
Convert Data to genind Format | gendata.to.genind |
Find All Unique Genotypes for a Locus | genIndex genIndex,array-method genIndex,genambig-method |
Genotype Diversity Statistics | genotypeDiversity Shannon Simpson Simpson.var |
Calculate Probabilities of Unambiguous Genotypes | genotypeProbs |
Internal Functions in polysat | .unal1loc fixloci G GENLIST INDEXG RANMUL SELFMAT |
Determine Whether Genotypes Are Missing | isMissing |
Calculate Band-Sharing Dissimilarity Between Genotypes | Lynch.distance |
Tools for Working With Pairwise Distance Arrays | find.na.dist find.na.dist.not.missing meandist.from.array |
Mean Pairwise Distance Matrix | meandistance.matrix meandistance.matrix2 |
Merge Two Genotype Objects into One | merge merge,genambig,genambig-method merge,genbinary,genbinary-method merge,gendata,gendata-method merge-methods |
Merge Allele Assignment Matrices | mergeAlleleAssignments |
Polymorphic Information Content | PIC |
Accessor, Replacement, and Manipulation Functions for '"ploidysuper"' Objects | plCollapse pld pld<- |
Class '"ploidysuper"' and Subclasses | plCollapse,ploidylocus,logical,logical-method plCollapse,ploidymatrix,logical,logical-method plCollapse,ploidyone,logical,logical-method plCollapse,ploidysample,logical,logical-method pld,ploidylocus-method pld,ploidymatrix-method pld,ploidyone-method pld,ploidysample-method pld<-,ploidylocus-method pld<-,ploidymatrix-method pld<-,ploidyone-method pld<-,ploidysample-method ploidylocus-class ploidymatrix-class ploidyone-class ploidysample-class ploidysuper-class |
Perform Allele Assignments across Entire Dataset | plotParamHeatmap plotSSAllo processDatasetAllo |
Read File in ATetra Format | read.ATetra |
Read GeneMapper Genotypes Tables | read.GeneMapper |
Import Genotype Data from GenoDive File | read.GenoDive |
Read Genotype Data in POPDIST Format | read.POPDIST |
Read Genotypes in SPAGeDi Format | read.SPAGeDi |
Read Genotypes Produced by STRand Software | read.STRand |
Read Genotypes and Other Data from a Structure File | read.Structure |
Read Data from a TETRASAT Input File | read.Tetrasat |
Create a New 'genambig' Dataset with Loci Split into Isoloci | recodeAllopoly |
Convert Ploidy Format of a Dataset | reformatPloidies |
Generate Simulated Datasets | simAllopoly |
Randomly Generated Data for Learning polysat | simgen |
Simple Allele Frequency Estimator | simpleFreq |
Rubus Genotype Data for Learning polysat | testgenotypes |
Print Genotypes to the Console | viewGenotypes |
Write Genotypes in ATetra Format | write.ATetra |
Create a File of Allele Frequencies for SPAGeDi | write.freq.SPAGeDi |
Write Genotypes to a Table Similarly to ABI GeneMapper | write.GeneMapper |
Write a File in GenoDive Format | write.GenoDive |
Write Genotypes to a POPDIST File | write.POPDIST |
Write Genotypes in SPAGeDi Format | write.SPAGeDi |
Write Genotypes in Structure 2.3 Format | write.Structure |
Write Genotype Data in Tetrasat Format | write.Tetrasat |