- Added
ecodiveJOSS citation information. - New
robust_aitchison()beta diversity function. - Switch from
testthatto dependency-freetinytestfor test suite. read_treefixes for edge cases.
-
When using CLR normalization:
- Warns when zeros are detected and
pseudocountisNULL. - Then continues with
pseudocount <- min(counts[counts>0]) / 2.
- Warns when zeros are detected and
normnow defaults to"none"instead of"percent".normparameter was removed from some beta diversity functions.
-
The
rarefy()function has been simplified:drop = FALSEnow returns samples with original counts when sum < depth.drop = TRUEno longer drops zero-sum features - only zero-sum samples.depthcan no longer be a fraction (only positive integers now).n_samplesparameter has been removed.warnparameter has been added.
- Coerce counts to double before rarefaction.
- Drop explicit zeros from sparse matrices after rarefaction.
- Corrected CRAN
rchkissue.
- Dedicated rarefaction backends for dense and sparse matrices.
- Auto-conversion to col-major sparse matrix for distance/diversity calculations.
rescaleparameter is superseded bynormparameter.
alpha_div()andbeta_div()will only forward applicable parameters.- No longer crashes when
pairs = integer(0). pseudocount = NULLcorrectly selects smallest non-zero count.
- Input matrix is now samples as rows.
- Removed
weightedparameter.
-
Updated Alpha Options:
c("ace", "berger", "brillouin", "chao1", "faith", "fisher", "simpson", "inv_simpson", "margalef", "mcintosh", "menhinick", "observed", "shannon", "squares") -
Updated Beta Options:
c("aitchison", "bhattacharyya", "bray", "canberra", "chebyshev", "chord", "clark", "sorensen", "divergence", "euclidean", "generalized_unifrac", "gower", "hamming", "hellinger", "horn", "jaccard", "jensen", "jsd", "lorentzian", "manhattan", "matusita", "minkowski", "morisita", "motyka", "normalized_unifrac", "ochiai", "psym_chisq", "soergel", "squared_chisq", "squared_chord", "squared_euclidean", "topsoe", "unweighted_unifrac", "variance_adjusted_unifrac", "wave_hedges", "weighted_unifrac")
- This is the first release of ecodive.