Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
4ff0afd
Add C++ code from unifrac's implementation
jepasan Jun 26, 2024
6b2d218
Copy faith-related code into separate files
jepasan Nov 21, 2024
ec38762
Fix code crashing due to out-of-bounds vector access
jepasan Jan 6, 2025
cefd286
C++ code functional for some datasets
jepasan Jan 15, 2025
9f3bb88
Clean up unnecessary files
jepasan Jan 15, 2025
71a9ba5
Simplify source files and code
jepasan Jan 27, 2025
ff0702f
Modify folder structure to fit Rcpp guidelines
jepasan Feb 3, 2025
916560f
Integrate Rcpp and C++ code into the package
jepasan Feb 17, 2025
15d8fa2
Fix the bug that was causing divergent results
jepasan Feb 21, 2025
f62c853
Miscellaneous cleaning up
jepasan Feb 21, 2025
2b4cc75
Update documentation
jepasan Feb 21, 2025
985a873
Add all object files to .gitignore
jepasan Feb 21, 2025
a371637
Rename header files to get rid of warnings
jepasan Feb 21, 2025
5d728ad
Remove old Faith's PD implementation
jepasan Feb 25, 2025
c8ae628
Merge branch 'devel' into fastfaith
antagomir Mar 11, 2025
e61b74f
Update documentation
jepasan Mar 3, 2025
9859945
Merge branch 'fastfaith' of https://github.com/jepasan/mia into fastf…
jepasan Mar 12, 2025
d5d0288
Make C++ documentation internal
jepasan Mar 12, 2025
4036365
Merge branch 'devel' into fastfaith
antagomir Mar 12, 2025
d473c13
Merge branch 'devel' into fastfaith
antagomir Mar 12, 2025
6f3e370
Remove export keyword
jepasan Mar 13, 2025
cb85a3b
Update reference style
jepasan Mar 13, 2025
18a11f0
Merge branch 'fastfaith' of https://github.com/jepasan/mia into fastf…
jepasan Mar 13, 2025
460bf68
Merge branch 'devel' into fastfaith
antagomir Mar 16, 2025
e446c8f
Clean up C++ code
jepasan Mar 17, 2025
76ed7f2
Save re-sorted edges directly to tree
jepasan Mar 17, 2025
43526d9
Modify C++ code to work without colnames
jepasan Mar 17, 2025
de0f800
Merge branch 'fastfaith' of https://github.com/jepasan/mia into fastf…
jepasan Mar 17, 2025
991e3af
Update docs
TuomasBorman Mar 17, 2025
82149ee
Add name to DESCRIPTION
jepasan Mar 17, 2025
e72a839
Merge branch 'fastfaith' of https://github.com/jepasan/mia into fastf…
jepasan Mar 17, 2025
24af810
WIP
jepasan Sep 26, 2025
d3b3fbd
Initialise exporters to raw, qiime and mothur
RiboRings Apr 22, 2026
a519e0e
Minor fix to exporters
RiboRings Apr 22, 2026
b0d11f6
Fix variable types in exporters
RiboRings Apr 23, 2026
902719c
Fixes to exporters
RiboRings Apr 23, 2026
089fee4
Add option to create group file for Mothur export
RiboRings Apr 23, 2026
698fac7
Add group arg for qiime exporter
RiboRings Apr 24, 2026
6574215
Initial version that compiles
jepasan May 4, 2026
8b65f6e
Pass StripeMap by reference to fix crashing
jepasan May 4, 2026
025dcf5
Unweighted now produces accurate results
jepasan May 6, 2026
46e3519
Revome unnecessary copying for speed
jepasan May 6, 2026
8ed15b5
Added method for Weighted Unifrac
jepasan May 20, 2026
baf83cc
Remove unnecessary code blocks
jepasan May 20, 2026
8ba8c12
Clean up formatting
jepasan May 22, 2026
6572ec8
Merge latest
jepasan May 22, 2026
482e65a
Add C++ function to R code
jepasan May 22, 2026
1a9354e
Change weighted from normalized to unnormalized
jepasan May 22, 2026
c444f8f
Add chunked processing for performance
jepasan May 24, 2026
e5eb464
Remove unnecessary exit point
jepasan May 24, 2026
7468ed6
Improve formatting
jepasan May 25, 2026
f2cf6c4
Remove bypass_tips from function parameters
jepasan May 25, 2026
702c243
Update documentation
jepasan May 25, 2026
e8ee485
Turn return object into a distance matrix
jepasan May 25, 2026
dc7b8fe
Turn return object into a distance matrix
jepasan May 25, 2026
e44e288
Merge branch 'fastunifrac' of https://github.com/jepasan/mia into fas…
jepasan May 25, 2026
b7cb638
up
TuomasBorman Jun 12, 2026
345e129
Merge branch 'devel' into fastunifrac
TuomasBorman Jun 12, 2026
e7d5bac
up
TuomasBorman Jun 12, 2026
36104b0
Solve conflicts
RiboRings Jun 18, 2026
d9af452
Merge branch 'devel' into exporters
RiboRings Jun 18, 2026
4c7c974
Solve conflicts
RiboRings Sep 9, 2026
02d2731
Reduce redundancy and add comments for exporters
RiboRings Sep 9, 2026
b504c40
Update exporters vignettes
RiboRings Sep 9, 2026
b048dd4
Initialise tests for exporters
RiboRings Sep 30, 2026
657e76f
Finalise tests for exporters
RiboRings Sep 30, 2026
9b6430f
Solve conflicts
RiboRings Sep 30, 2026
4d056a1
Merge branch 'devel' into exporters
0xMuluh Oct 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@ LinkingTo:
URL: https://microbiome.github.io/mia/, https://github.com/microbiome/mia
BugReports: https://github.com/microbiome/mia/issues
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.3
VignetteBuilder: knitr
Config/roxygen2/version: 8.0.0
RdMacros: Rdpack
7 changes: 7 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ export(estimateDominance)
export(estimateEvenness)
export(estimateFaith)
export(estimateRichness)
export(exportMothur)
export(exportQIIME2)
export(exportRaw)
export(filterRPCAInput)
export(full_join)
export(getAbundanceClass)
Expand Down Expand Up @@ -421,6 +424,8 @@ importFrom(ape,is.binary)
importFrom(ape,is.rooted)
importFrom(ape,read.tree)
importFrom(ape,reorder.phylo)
importFrom(ape,write.FASTA)
importFrom(ape,write.tree)
importFrom(bluster,clusterRows)
importFrom(decontam,isContaminant)
importFrom(decontam,isNotContaminant)
Expand Down Expand Up @@ -464,9 +469,11 @@ importFrom(stats,runif)
importFrom(stats,sd)
importFrom(stats,setNames)
importFrom(stats,terms)
importFrom(stringr,fixed)
importFrom(stringr,str_extract)
importFrom(stringr,str_extract_all)
importFrom(stringr,str_pad)
importFrom(stringr,str_remove)
importFrom(stringr,str_replace_all)
importFrom(tibble,rownames_to_column)
importFrom(tibble,tibble)
Expand Down
4 changes: 2 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ Changes in version 1.19.x
Changes in version 1.21.x
+ 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)
+ 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)
15 changes: 15 additions & 0 deletions R/AllGenerics.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,21 @@ setGeneric("convertToBIOM", signature = c("x"),
setGeneric("convertToPhyloseq", signature = c("x"), function(x, ...)
standardGeneric("convertToPhyloseq"))

#' @rdname export-methods
#' @export
setGeneric("exportRaw", signature = c("x"), function(x, ...)
standardGeneric("exportRaw"))

#' @rdname export-methods
#' @export
setGeneric("exportQIIME2", signature = c("x"), function(x, ...)
standardGeneric("exportQIIME2"))

#' @rdname export-methods
#' @export
setGeneric("exportMothur", signature = c("x"), function(x, ...)
standardGeneric("exportMothur"))

#' @rdname isContaminant
#' @export
setGeneric("addContaminantQC", signature = c("x"),
Expand Down
2 changes: 1 addition & 1 deletion R/calculateUnifrac.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' @importFrom ape drop.tip
.get_unifrac <- function(
x, tree, weighted = FALSE, node.label = nodeLab, nodeLab = NULL, ...){
x, tree, new = FALSE, weighted = FALSE, node.label = nodeLab, nodeLab = NULL, ...){
# Transpose the matrix so that the orientation is the same as in other
# dissimilatity methods
x <- t(x)
Expand Down
Loading
Loading