Skip to content

Commit

Permalink
Add return value
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Sep 12, 2024
1 parent 2fce630 commit de44061
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Version: 0.0.2.9000
Authors@R:
person("Yun", "Peng", , "[email protected]", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0003-2801-3332"))
Description: A 'ggplot2' extension offers various tools for organizing and arranging plots.
It is designed to consistently align a specific axis across multiple ggplot objects,
It is designed to consistently align a specific axis across multiple 'ggplot' objects,
making it especially useful for plots requiring data order manipulation. A typical use
case includes organizing combinations like a dendrogram and a heatmap.
License: MIT + file LICENSE
Expand Down
1 change: 1 addition & 0 deletions R/alignpatch-title.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#'
#' @param top,left,bottom,right A string specifying the title to be added to the
#' top, left, bottom, and right border of the plot.
#' @return A [labs][ggplot2::labs] object to be added to ggplot.
#' @export
#' @importFrom ggplot2 waiver
patch_titles <- function(top = waiver(), left = waiver(), bottom = waiver(),
Expand Down
2 changes: 2 additions & 0 deletions R/layout-.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ is.layout <- function(x) methods::is(x, "Layout")
#' Print Layout object
#'
#' @param object A [layout_heatmap()] or [layout_stack()] object.
#' @return The input invisiblely.
#' @importFrom methods show
#' @export
#' @keywords internal
Expand All @@ -38,6 +39,7 @@ methods::setMethod("show", "Layout", function(object) {
#'
#' @param x A `Layout` object
#' @param name A string of slot name in `Layout` object.
#' @return The slot value.
#' @importFrom methods slot
#' @export
#' @keywords internal
Expand Down
3 changes: 3 additions & 0 deletions man/cash-Layout-method.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/ggalign-package.Rd

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

3 changes: 3 additions & 0 deletions man/patch_titles.Rd

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

3 changes: 3 additions & 0 deletions man/show-Layout-method.Rd

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

0 comments on commit de44061

Please sign in to comment.