Skip to content

Commit

Permalink
replace splitByRanks with agglomerateByRanks (#115)
Browse files Browse the repository at this point in the history
Co-authored-by: Tuomas Borman <[email protected]>
  • Loading branch information
thpralas and TuomasBorman authored Jun 28, 2024
1 parent 8afe980 commit 710316d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: miaViz
Title: Microbiome Analysis Plotting and Visualization
Version: 1.13.2
Version: 1.13.3
Authors@R:
c(person(given = "Tuomas", family = "Borman", role = c("aut", "cre"),
email = "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ Changes in version 1.11.x

Changes in version 1.13.x
+ plot*Tree: bugfix, ununique nodes
+ Added confidence.level parameter to plotCCA
+ Added confidence.level parameter to plotCCA
6 changes: 3 additions & 3 deletions R/plotTree.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
#' @return a \code{\link{ggtree}} plot
#'
#' @seealso
#' \code{\link[mia:splitByRanks]{splitByRanks}}
#' \code{\link[mia:agglomerate-methods]{agglomerateByRanks}}
#'
#' @name plotTree
#'
Expand All @@ -106,7 +106,7 @@
#' library(mia)
#' # preparation of some data
#' data(GlobalPatterns)
#' altExps(GlobalPatterns) <- splitByRanks(GlobalPatterns)
#' GlobalPatterns <- agglomerateByRanks(GlobalPatterns)
#' altExp(GlobalPatterns,"Genus") <- addPerFeatureQC(altExp(GlobalPatterns,"Genus"))
#' rowData(altExp(GlobalPatterns,"Genus"))$log_mean <-
#' log(rowData(altExp(GlobalPatterns,"Genus"))$mean)
Expand Down Expand Up @@ -148,7 +148,7 @@
#' # aggregating data over the taxonomic levels for plotting a taxonomic tree
#' # please note that the original tree of GlobalPatterns is dropped by
#' # unsplitByRanks
#' altExps(GlobalPatterns) <- splitByRanks(GlobalPatterns)
#' GlobalPatterns <- agglomerateByRanks(GlobalPatterns)
#' top_phyla <- getTopFeatures(altExp(GlobalPatterns,"Phylum"),
#' method="mean",
#' top=10L,
Expand Down
6 changes: 3 additions & 3 deletions man/plotTree.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 710316d

Please sign in to comment.