Comments (4)
To ensure that things are working correctly, I will write a test based on the example presented in Kosman (2003).
from poppr.
Currently, the strategy is:
If it's polyploid, change to unbiased Simpson's index over alleles:
(n/(n - 1)) * 1 - sum(pi^2)
This way a measure can actually be reached instead of having complaints of missing data in the result.
Currenlty, locus table will report a different column name, and poppr probably should as well.
Now, I just need to fix the documentation:
- adjust documentation in
locus_table()
- adjust documentation in
poppr()
- adjust documentation in vignette (that was wrong anyways
😩 )
from poppr.
The new column name for poppr and locus_table is Mu.
from poppr.
Scratch that, reverse it.
The calculation will be
(n/(n - 1)) * 1 - sum(p^2)
where n is the number of observed alleles. This will impact polyploids and mixed ploidy populations by increasing diversity, but it's better than using kN, which would increase it even more.
from poppr.
Related Issues (20)
- Bruvos Distance function comparing n individuals to a reference set. HOT 5
- Genetic distance calculation yields NAs HOT 2
- Fix inefficient implementation of boot.bruvo HOT 3
- Interpretation of negative values in AMOVA HOT 3
- Error with reverse dependency checks for phangorn HOT 12
- genind2genalex() produces all zero genotypes with some SNP data. HOT 1
- bitwise.ia() degraded performance on windows HOT 1
- Clade rooting abnormally with updated HOT 4
- Error in bruvo.boot HOT 4
- CRAN test failure in R-devel on Debian
- Cannot re-level strata of a snpclone object HOT 1
- DUE 2021-09-21: Packages including omp.h after Rincludes.h
- Feature request: separation/removal of sf package requirement HOT 5
- Optional disabling of statistics in poppr table HOT 6
- threads not being respected and defaulting to 1 HOT 1
- PAIRWISE FST Calculation HOT 1
- Find All Duplicate MLGs HOT 4
- [read.genalex()]: Detect semicolon-separated files and throw error with correct command
- IS there a way to make a table indicated the multilocus genotypes for each isolate? where is that info stored? HOT 1
- Error Message from R using read.genalex HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poppr.