Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
TuomasBorman committed Aug 30, 2023
1 parent 673c18b commit 241a823
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion R/plotAbundance.R
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
#' ## Compositional barplot with top 5 taxa and samples sorted by "Bacteroidetes"
#'
#' # Getting top taxa on a Phylum level
#' se <- transformCounts(se, method="relabundance")
#' se <- transformAssay(se, method="relabundance")
#' se_phylum <- agglomerateByRank(se, rank ="Phylum", onRankOnly=TRUE)
#' top_taxa <- getTopTaxa(se_phylum,top = 5, assay.type = "relabundance")
#'
Expand Down
2 changes: 1 addition & 1 deletion R/plotAbundanceDensity.R
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
#' plotAbundanceDensity(tse, assay.type = "counts")
#'
#' # Counts relative abundances
#' tse <- transformCounts(tse, method = "relabundance")
#' tse <- transformAssay(tse, method = "relabundance")
#'
#' # Plots the relative abundance of 10 most abundant taxa.
#' # "nationality" information is used to color the points. X-axis is log-scaled.
Expand Down
2 changes: 1 addition & 1 deletion R/plotSeries.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
#' colour_by = "Family")
#'
#' # Counts relative abundances
#' object <- transformCounts(object, method = "relabundance")
#' object <- transformAssay(object, method = "relabundance")
#'
#' # Selects taxa
#' taxa <- c("seq_1", "seq_2", "seq_3", "seq_4", "seq_5")
Expand Down
2 changes: 1 addition & 1 deletion man/plotAbundance.Rd

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

2 changes: 1 addition & 1 deletion man/plotAbundanceDensity.Rd

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

2 changes: 1 addition & 1 deletion man/plotSeries.Rd

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

0 comments on commit 241a823

Please sign in to comment.