NEWS
mia 1.21
- Fixed explained percentages on PCA axes for jointRPCA and hardened
rank-deficient SVD handling in joint-RPCA (1.21.1, 2026-05-12)
- Generalise agglomerateByModule to non-binary numerical modules (1.21.2, 2026-05-31)
- Modify joint-RPCA to match with Gemelli implementation (1.21.3, 2026-06-16)
- Implement Striped Unifrac algorithm (1.21.4, 2026-07-29)
- Added conversion functions between MAE and TreeSE (1.21.8, 2026-09-22)
- Added applyByModule (1.21.11, 2026-10-02)
- Fixed getAlpha/addAlpha returning the first rarefaction round instead of
the mean over niter rounds (1.21.12, 2026-10-19)
- getAlpha/addAlpha rarefy once per iteration and calculate all indices from
the same rarefied data (1.21.13, 2026-10-13)
- Add Allen and Rao alpha diversity indices (1.21.14, 2026-10-22)
- Added getQCMetrics and addQCMetrics (1.21.15, 2026-10-26)
- Added getDysbiosis and addDysbiosis (1.21.16, 2026-10-26)
- Fixed Camargo evenness, which was computed on the wrong entries when
samples contained zeroes and depended on feature order (1.21.17, 2026-10-27)
- Fixed UniFrac truncating sample totals to integers, which gave NaN or wrong
distances on relative abundances and percentages (1.21.18, 2026-10-27)
- Added method = "sd" and "cv" to getTop (1.21.19, 2026-10-27)
- Formula handling in RDA, CCA and PERMANOVA no longer uses as.character() (1.21.20, 2026-10-27)
- transformAssay and rarefyAssay warn instead of failing when overwriting an assay (1.21.21, 2026-10-27)
- getMDS and addMDS use all features by default (1.21.22, 2026-10-27)
- Added getPCA and addPCA (1.21.23, 2026-10-27)
- Renamed getQCMetrics and addQCMetrics to getQC and addQC (1.21.24, 2026-10-28)
- Added exporters (1.21.25, 2026-10-28)
- Fixed applyByModule failing on parallel workers in separate sessions, e.g. on Windows (1.21.26, 2026-10-29)
- transformAssay: method = "log" now computes natural log consistently with "log2" and "log10"; the previous vegan::decostand log transformation is available as method = "log_zero_replace" (1.21.27, 2026-10-30)
- Renamed agglomerateByModule to agglomerateBySet (1.21.28, 2026-11-05)
- Renamed applyByModule to applyBySet (1.21.28, 2026-11-05)
- getPERMANOVA: binary=TRUE when Jaccard calculated (1.21.28, 2026-11-05)
- Tree agglomeration simplified. When data is agglomerated, tree is dropped by default as it is not matching with the agglomerated data. If specified, the tree is aggregated based on MRCA. (1.21.29, 2026-11-11)
- Fixed weighted UniFrac when multiple rows are linked to the same node (1.21.29, 2026-11-11)
- mergeSEs: improve efficency (1.21.30, 2026-11-12)
- Added subsetBy for subsetting features and samples by conditions evaluated on the current data; collapse = TRUE merges the removed features into one (1.21.31, 2026-11-17)
- Deprecated subsetByPrevalent, subsetByRare and agglomerateByPrevalence in favor of subsetBy (1.21.32, 2026-11-18)
- Removed filterRPCAInput; use subsetBy instead (1.21.32, 2026-11-18)
- subsetBy: fixed collapse = TRUE when only one feature is collapsed (1.21.33, 2026-11-19)
- getPrevalentAbundance/addPrevalentAbundance: thresholds and rank are now passed on for SummarizedExperiment (1.21.33, 2026-11-19)
- getNMDS/addNMDS: FUN = getDissimilarity by default, for consistency with getMDS and getDivergence; getDivergence/addDivergence gain the FUN argument; getDissimilarity generic defaults to method = "bray", so getMDS and getNMDS work without method (1.21.34, 2026-11-20)
- getMediation/addMediation: with dimred, mediators are named by the component names of the reducedDim (e.g. "PC1") instead of the reducedDim name and an index ("PCA1"), which is still used when the components have no names (#901) (2026-11-21)
- Added normalized option for weighted and unweighted Unifrac (1.21.35, 2026-11-21)
- Tengeler2020: sample names and colData are matched to the counts by sample name; they were misaligned, so patient_status was correct for only 11 of 27 samples (#904) (2026-11-21)
- convertToPhyloseq: tree.name = NULL leaves out the tree, which keeps the feature order of the TreeSE (#821) (2026-11-21)
- References in the documentation use Rdpack and inst/REFERENCES.bib (#707) (2026-11-21)
- transformAssay: verbose = FALSE silences its messages and warnings, e.g. in pipelines (#788) (2026-11-21)
- parseTaxonomy: new exported function that splits taxonomy strings such as "k__Bacteria; p__Firmicutes" into one column per rank; it uses the parser of the importers (#769) (2026-11-21)
- getTaxonomyLabels: with make.unique = TRUE, the message lists the labels that were changed, e.g. "Family:o -> Family:o_1" (#729) (2026-11-21)
- getPERMANOVA/addPERMANOVA: method = "unifrac" uses the rowTree of a TreeSE; earlier it failed with "argument tree is missing"; unused factor levels are dropped from the covariates, as vegan::adonis2() can crash R with them, e.g. when samples are subsetted for pairwise tests, and a grouping variable with only one group gives an error instead of a warning (1.21.36, 2026-11-21)
- Vignette: overview of the functions grouped by use case, with examples (2026-11-21)
- exportMothur: the OTU column of taxonomy.tsv is taken from the row names; with stringr < 1.6.0 the export failed (2026-11-22)
- getDissimilarity: method = "overlap" returns the dissimilarity 1 - overlap; it returned the overlap similarity, so identical samples had the largest dissimilarity (#787) (2026-11-22)
- getAlpha/addAlpha: allen and rao placed the tip abundances by table row instead of node, which gave wrong values on most trees (2026-11-22)
- transformAssay: pseudocount = TRUE (and method = "pseudocount" without a value) is deprecated; the warning gives the value used. A numeric pseudocount on an assay with only positive values is an error instead of a warning, and the error for zeroes suggests a pseudocount (#813) (2026-11-22)
mia 1.19
- Fixed a bug related to agglomerateByPrevalence and referenceSeq agglomeration (2025-12-08)
- Use ecodive in UniFrac (1.19.2, 2025-12-09)
- Added binning transformation (1.19.3, 2026-02-23)
- Added support for reducedDim in clustering (1.19.5, 2026-03-06)
mia 1.17
- Added add.dimred parameter to meltSE() (2025-04-29)
- Added transformation method that replaces values <= threshold with NA (2025-05-09)
- importMetaPhlAn: Preserve features without taxonomy
- Added agglomerateByModule()
- Added inverse rank normalization (2025-09-10)
mia 1.15
- subsetBy*: added update.tree argument
- agglomerateBy*: Add na.rm option for excluding NA counts
- Added getPERMANOVA and addPERMANOVA functions to calculate PERMANOVA
- update.tree = TRUE by default
- Add functions for classifying taxa based on their average abundance
- Add addPrevalence function that adds results of getPrevalence to rowData
- Added support for dimred to getCrossAssociation
- Add wrapper for PhILR transformation
- Support rarefaction when applying unifrac
- Added getMDS and addMDS: wrappers for scater::calculateMDS and scater::runMDS
- Fix tree merging and agglomeration
- getReducedDimAttribute: function for fetching elements from attributes of reducedDim
- Improve decontam functions
- Support precalculated dissimilarity matrix in dbRDA
- Calculate standard, binary Jaccard index by default
mia 1.13
- Added new functions getMediation and addMediation
- replace getExperiment* and testExperiment* functions with getCrossAssociation
- Replace mergeRows and mergeCols with new function agglomerateByVariable
- agglomerateByRank: bugfix related to agglomeration of non-existing tree
- getHierarchyTree: bugfix related to empty cells in rowData
- agglomerateByRank: bugfix: trees was not pruned correctly
- rename meltAssay to meltSE
- Rename countDominantFeatures and countDominantTaxa to summarizeDominance
- rename subsetByPrevalent* and subsetByRare* to subsetByPrevalent and subsetByRare
- Deprecate transformFeatures, transformSamples, transformCounts, Ztransform,
relAbundanceCounts
- rename getRare* functions to getRare, getUnique* functions to getUnique,
getTop* functions to getTop and getPrevalent* functions to getPrevalent
- Rename subsampleCounts to rarefyAssay
- Rename perSampleDominant* functions to getDominant and addPerSampleDominant*
functions to addDominant
- Rename splitByRanks to agglomerateByRanks and add option as.list
- Explain that rarefyAssay returns a new SummarizedExperiment object that
includes the newly added subsampled assay.
- Fix bug in mergeFeaturesByPrevalence
- new aliases calculateDPCoA to getDPCoA, calculateNMDS to getNMDS, calculateRDA to getRDA,
calculateCCA to getCCA
- add informative error message in rarefyAssay on assays with strictly-negative values
- Use rbiom package in unifrac implementation
- Updated parameter names to follow naming convention "parameter.name"
- rename converters makeTreeSEFrom* to convertFrom* and makePhyloseqFromTreeSE to
convertToPhyloseq
- add rowTree agglomeration and RefSeq agglomeration in agglomerateByPrevalence
- Fix tree merging in unsplit and mergeSEs functions
- Added addAlpha; a wrapper for calculating all alpha diversity indices
- Added importTaxpasta
- Changes in default taxonomy ranks; more ranks supported
- Added Tito2024QMP dataset
- Added convertToBIOM
- new methods getLDA and addLDA for LDA ordination with feature loadings
computation
- new methods getNMF and addNMF for NMF ordination with feature loadings
computation
- If missing values, give informative error in *RDA/*CCA functions
- transformAssay can apply transformation to altExp
- Added CSS transformation
- In agglomerateByVariable, splitOn and getDominant, use 'group' to specify grouping variable.
mia 1.11
- loadFromMetaphlan: support strain rank
- agglomerateByRank: agglomerate tree fix
- Replace taxonomyTree and addTaxonomyTree with getHierarchyTree and addHierarchyTree
- splitOn: update rowTree fix
- perSampleDominantFeatures: add new arguments (n, other.name, complete)
- loadFromMetaphlan: support "taxonomy" column for specifying taxonomy
- cluster: Overwrite old results instead of failing
- getPrevalence: bugfix, if assay contains NA values, it does not end up to NA anymore.
- getExperimentCrossCorrelation fix: enable using of sampleMap in MAE.
- Implemented the setTaxonomyRanks function to specify which ranks are recognized as taxonomy ranks.
- Rename cluster to addCluster
- rename importers loadFromBiom, loadFromQIIME2, readQZA, loadFromMothur, loadFromMetaphlan, loadFromHumann
- fix typo in loadFromBiom definition (deprecate file)
- deprecate subsetSamples, subsetFeatures and subsetTaxa
- deprecate plotNMDS after moving it to miaViz
- rename estimateDivergence to addDivergence
- Add details to documentation of function agglomerateByPrevalence
mia 1.9
- loadFromMetaphlan: Bugfix, not all files include ID column.
- cluster: added wrapper for bluster's clusterRows function
- Added loadFromHumann
- calculateDMM: deprecated/updated outdated functions
- Added Tengeler2020 dataset
- *RDA & *CCA: calculate also statistical significance
- altExp support for meltAssay
- Deprecate mergeRows, mergeCols, agglomerateByRank, agglomerateByPrevalence
- Removed getAbundanceSample and getAbundanceFeature
- Updated test to avoid warning from deprecated functions
- Export mergeFeaturesByRank
- *RDA & *CCA: scores parameter for specifying output
- Improve mergeSEs and loadFromBiom
- Faith index: bugfix
- runRDA bugfix: vegan::dbrda and vegan::vegdist have different parameter for dissimilarity --> taken into account
- Add support for Metaphlan v2
- loadFromHumann: Improved speed
mia 1.7
- Deprecated assay_name arguments, replaced with assay.type
- Removed abund_values argument
- makePhyloseqFromTreeSE: added option for choosing a tree from multiple rowTrees
- mergeSEs: match rows based on all available taxonomy level data on rowData
- mergeSEs: fix bug related to equally named variables that are different class
- mergeSEs: option for merging multiple assays
- calculateUnifrac: option for specifying the tree from TreeSE
- transformAssay: utilize vegan package
- calculateUnifrac: subset tree based on data
- agglomerateByRank: take into account multiple trees
- loadFromBiom: name columns of rowData based on prefixes
- Deprecate transformSamples, *Features, relabundance, ZTransform, relAbundanceCounts
- mergeSEs: faster tree merging
- Faith's index: fix bug that occurred when only one taxon is present
mia 1.5
- Added HintikkaXOData
- Added sample metadata option to getExperimentCrossAssociation
- estimateFaith: add support for multiple rowTrees
- calculateRDA/CCA: added variable argument & replaced altexp argument with altExp
- getExpCrossCorr: bugfix; samples should match when correlations between features are calculated
- getExpCrossCorr: Kendall's tau is the default method
- mergeSEs: bugfix; links between trees and rows/cols were wrong & rowData did not include all info
- calculateDPCoA, calculateUnifrac & merge: add support for multiple trees
- altExp parameter to altexp
- agglomerateByRank: make rownames unique by default
- removed calculateDistance and calculateUniFrac alias
- calculateUnifrac bugfix
mia 1.3
- name change: testForExperimentCrossCorrelation to testExperimentCrossCorrelation
- getExperimentCrossCorrelation: Filtering disabled by default, option to suppress warnings
- bugfix: taxonomyTree gave error if taxa were agglomerated at highest level (taxa name mismatch)
- bugfix: subsampleCounts errors if no samples are found after subsampling
- added loadFromMetaphlan
- renamed calculateUniFrac to calculateUnifrac
- added na.rm option to getTopTaxa function
- bugfix: makeTreeSEFromPseq -- orientation of assay is taken into account
- bugfix: getExperimentCrossCorrelation's "matrix"" mode works with features named equally
- bugfix: getExperimentCrossCorrelation's calculates correlations correctly with features named equally
- getExperimentCrossCorrelation name changed to getExperimentCrossAssociation
- getExperimentCrossAssociation: user's own function supported, sort in mode == table enabled
- getExperimentCrossAssociation: added MARGIN & paired options, efficiency of algorithm improved
- Added *Features aliases for *Taxa functions
- *RDA functions utilize vegan:dbrda instead of vegan:rda
- Sped up estimateDivergence by removing unnecessary pairwise comparisons
- Added new internal function .calculate_reference_distance to calculate distance to a single reference sample
- added new skin microbiome example data set 'peerj13075'
- added splitOn and unsplitOn functions
- CLR transformation: remove internal relative transformation
- Replace 'abund_values' argument with 'assay_name'
- getExpCrossCorr: added altExp option
- added detection threshold option to getTopTaxa
- makeSummarizedExperimentFromBiom is now makeTreeSummarizedExperimentFromBiom
- Added mergeSE function
- bugfix: loadFromBiom
mia 1.1
- split transformAssay into transformSamples and transformFeatures
- added log_modulo_skewness as a diversity index
- added functions for summarizing dominant taxa information
- added wrapper for adding dominant taxa information to colData
- added specialized subsetting function for subsetting by prevalence (subsetByPrevalentTaxa/subsetByRareTaxa)
- added mapTaxonomy
- added estimateDivergence
- bugfix: makePhyloseqFromTreeSummarizedExperiment checks now for rowTree be compatible
- bugfix: meltAssay supports Matrix types
- bugfix: meltAssay is able to include rowData also when there are duplicated rownames
- added subsampleCounts for Subsampling/Rarefying data
- added getExperimentCrossCorrelation for calculatting cross-correlation between features
- added calculateOverlap
- getUniqueTaxa & getTopTaxa: added option for alphabetical order
mia 0.99.0
- Submitted to Bioconductor