Skip to content

Commit

Permalink
Use Rbiom unifrac implementation instead of runUnifrac (microbiome#523)
Browse files Browse the repository at this point in the history
Co-authored-by: Leo Lahti <[email protected]>
Co-authored-by: TuomasBorman <[email protected]>
Co-authored-by: Tuomas Borman <[email protected]>
  • Loading branch information
4 people authored Jun 10, 2024
1 parent c629462 commit ba42574
Show file tree
Hide file tree
Showing 6 changed files with 119 additions and 354 deletions.
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: mia
Type: Package
Version: 1.13.20
Version: 1.13.21
Authors@R:
c(person(given = "Felix G.M.", family = "Ernst", role = c("aut"),
email = "[email protected]",
Expand Down Expand Up @@ -68,7 +68,8 @@ Imports:
tidyr,
bluster,
MatrixGenerics,
mediation
mediation,
rbiom
Suggests:
testthat,
knitr,
Expand Down
5 changes: 1 addition & 4 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -323,11 +323,7 @@ importFrom(ape,cophenetic.phylo)
importFrom(ape,drop.tip)
importFrom(ape,has.singles)
importFrom(ape,is.rooted)
importFrom(ape,node.depth)
importFrom(ape,node.depth.edgelength)
importFrom(ape,prop.part)
importFrom(ape,read.tree)
importFrom(ape,reorder.phylo)
importFrom(ape,root)
importFrom(bluster,clusterRows)
importFrom(decontam,isContaminant)
Expand All @@ -344,6 +340,7 @@ importFrom(dplyr,rename)
importFrom(dplyr,select)
importFrom(dplyr,tally)
importFrom(mediation,mediate)
importFrom(rbiom,unifrac)
importFrom(rlang,":=")
importFrom(rlang,sym)
importFrom(scuttle,sumCountsAcrossFeatures)
Expand Down
3 changes: 2 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,5 @@ Changes in version 1.13.x
+ 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
+ add informative error message in rarefyAssay on assays with strictly-negative values
+ Use rbiom package in unifrac implementation
Loading

0 comments on commit ba42574

Please sign in to comment.