Published November 25, 2016
| Version v.2.3.0
Software
Open
grunwaldlab/poppr: poppr version 2.3.0
Authors/Creators
- 1. Oregon State University
- 2. USDA-Agricultural Research Service
- 3. Horticultural Crops Research Lab, USDA ARS
- 4. @rstudio
Description
poppr 2.3.0
This version of poppr introduces the function bootgen2genind() that allows you to use aboot() with distance functions that explicitly expect "genind" objects:
aboot(myData, dist = myDist) # fails
aboot(myData, dist = function(x) myDist(bootgen2genind(x))) # works
There are other various bug fixes and improvements, which are listed below.
NEW FUNCTIONS- The function
bootgen2genind()will help users take advantage of bootstrapping distance functions from other packages that require genind objects. For details, see https://github.com/grunwaldlab/poppr/issues/112 and https://github.com/grunwaldlab/poppr/issues/111
- There is now a
plotparameter for the genotype curve to enable or suppress plotting. - Progress bars are now automatically suppressed when running non-interactively.
to turn them on when running non-interactively, use
options(poppr.debug = TRUE). - The progress bar for
ia()andpoppr()will now show estimated time. This is from dplyr'sprogress_estimated().
- The
histargument in theia()is deprecated in favor ofplot. - The x axis for the
genotype_curve()plot is now numeric, allowing you to fit a smoothing function over the points without having to use the hackgeom_smooth(aes(group = 1)). This is thanks to Kara Woo for pointing this out on twitter (https://twitter.com/kara_woo/status/783336540407685120). - The "show" method for genclone objects now delimits populations and strata by a comma, avoiding confusion with multi-word population names. Thanks to @knausb for the fix in https://github.com/grunwaldlab/poppr/pull/116.
- Documentation for
poppr.amovanow contains a note about significance testing with the ade4 functionrandtest.amova.
- The subsetting methods will now properly handle mlgs when using sample names to subset genclone and snpclone objects. See https://github.com/grunwaldlab/poppr/issues/114 for details.
- A plotting bug for
mlg.table()was fixed so that the plots now show the maximum value. - Bugs with subsetting bootgen and bruvomat objects with no loci specified were fixed. See https://github.com/grunwaldlab/poppr/issues/118 for details.
Files
grunwaldlab/poppr-v.2.3.0.zip
Files
(2.4 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:10703da1abe840276d2abfc44b19f2e5
|
2.4 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/grunwaldlab/poppr/tree/v.2.3.0 (URL)