Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Daena Rys <rysdaena8@gmail.com>
  • Loading branch information
Daenarys8 committed Oct 21, 2024
1 parent caf42a7 commit 81b774d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 20 deletions.
25 changes: 15 additions & 10 deletions R/plotScree.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,24 @@
#' the reduced dimension to plot. This is used when x is a SingleCellExperiment
#' to extract the eigenvalues from \code{reducedDim(x, dimred)}.
#'
#' @param show.barplot \code{Logical}. Whether to show a barplot. Default is
#' TRUE.
#' @param show.barplot \code{Logical scalar}. Whether to show a barplot.
#' (Default: \code{TRUE}).
#'
#' @param show.points \code{Logical}. Whether to show points. Default is TRUE.
#' @param show.points \code{Logical scalar}. Whether to show points.
#' (Default: \code{TRUE}).
#'
#' @param show.line \code{Logical}. Whether to show a line connecting points.
#' Default is TRUE.
#' @param show.line \code{Logical scalar}. Whether to show a line connecting points.
#' (Default: \code{TRUE}).
#'
#' @param show.labels \code{Logical}. Whether to show labels for each point.
#' Default is FALSE.
#' @param show.labels \code{Logical scalar}. Whether to show labels for each point.
#' (Default: \code{FALSE}).
#'
#' @param cumulative \code{Logical}. Whether to show cumulative explained
#' variance. Default is FALSE.
#' @param cumulative \code{Logical scalar}. Whether to show cumulative explained
#' variance. (Default: \code{FALSE}).
#'
#' @param names \code{Character vector}. Optional names for the components
#' that will be displayed on the x-axis. If not provided, the components
#' are labeled sequentially as 1, 2, 3, etc.
#'
#' @param ... additional parameters for plotting
#'
Expand Down Expand Up @@ -66,7 +71,7 @@
#' )
#'
#' # Plot scree plot
#' plotScree(sce, "RDA")
#' plotScree(tse, "RDA")
#'
NULL

Expand Down
25 changes: 15 additions & 10 deletions man/plotScree.Rd

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

0 comments on commit 81b774d

Please sign in to comment.