Skip to content

Commit

Permalink
add detailed description for plot_diff_abund func
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiLiubio committed Oct 10, 2024
1 parent 1f4b800 commit fcdd1d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 6 additions & 2 deletions R/trans_diff.R
Original file line number Diff line number Diff line change
Expand Up @@ -907,8 +907,12 @@ trans_diff <- R6Class(classname = "trans_diff",
}
},
#' @description
#' Plot the abundance of differential taxa
#'
#' Plot the abundance of taxa.
#'
#' The significance can be optionally added in the plot.
#' The taxa displayed are based on the taxa in the 'res_diff' table, selected using parameters.
#' If the user filters out the non-significant taxa from the 'res_diff' table, these taxa will also be filtered from the plot.
#'
#' @param use_number default 1:10; numeric vector; the sequences of taxa (1:n) selected in the plot;
#' If n is larger than the number of total significant taxa, automatically use the total number as n.
#' @param color_values default \code{RColorBrewer::brewer.pal}(8, "Dark2"); color pallete for groups.
Expand Down
6 changes: 5 additions & 1 deletion man/trans_diff.Rd

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

0 comments on commit fcdd1d0

Please sign in to comment.