grunwaldlab/poppr: poppr version 2.8.0 release candidate
Authors/Creators
- 1. Oregon State University
- 2. USDA-Agricultural Research Service
- 3. Horticultural Crops Research Lab, USDA ARS
- 4. @rstudio
- 5. University of Florida
Description
This release contains an updated win.ia(), AMOVA for genlight objects, and a faster and more efficient calculation of Euclidean distance for genlight objects (see image).
win.ia()now has more consistent behavior with chromosome structure and will no longer result in an integer overflow. (see https://github.com/grunwaldlab/poppr/issues/179). Thanks to @MarisaMiller for the detailed bug report.plot_filter_stats()will plot stats if supplied a list of thresholds.
win.ia()may result in slightly different results because of two changes:- The windows will now always start at position one on any given chromosome.
This will result in some windows at the beginning of chromosomes having a
value of
NAif the first variant starts beyond the first window. - Windows are now calculated for each chromosome independently. The previous version first concatenated chromosomes with at least a window-sized gap between the chromosomes, but failed to ensure that the window always started at the beginning of the chromosome. This version fixes that issue. (see https://github.com/grunwaldlab/poppr/issues/179).
- The windows will now always start at position one on any given chromosome.
This will result in some windows at the beginning of chromosomes having a
value of
- The
chromosome_bufferargument forwin.ia()has been permanently set toTRUEand deprecated as it is no longer used.
poppr.amova()will now handle genlight/snpclone objects. See https://github.com/grunwaldlab/poppr/pull/185 for details.bitwise.dist()now has two new options:euclideanandscale_missing. When both of these are set toTRUE, the distance measured will be Euclidean scaled for the amount of missing data in each comparison. This matches the output of base R'sdist()function at a fraction of time and memory. See https://github.com/grunwaldlab/poppr/pull/176 for details.make_haplotypes()is now a generic defined for both genind and genlight.genind2genalex()will no longer write to "genalex.csv" by default. Instead, it will warn the user and write to a temporary file. See https://github.com/grunwaldlab/poppr/issues/175 for details.genind2genalex()now has anoverwriteparameter set toFALSEto prevent accidental overwriting of files.win.ia()has a new argumentname_window, which will give each element in the result the designation of the terminal position of that window. Thanks to @MarisaMiller for the suggestion!
cutoff_predictor()was added to the MLG vignette
Files
grunwaldlab/poppr-v.2.8.0rc.zip
Additional details
Related works
- Is supplement to
- https://github.com/grunwaldlab/poppr/tree/v.2.8.0rc (URL)