Skip to content

Commit d16eb22

Browse files
authored
Merge pull request #110 from tidyomics/copilot/create-package-help-man-page
Add package-level help documentation
2 parents 3a619a8 + 399f23b commit d16eb22

File tree

2 files changed

+109
-1
lines changed

2 files changed

+109
-1
lines changed

R/zzz.R

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,56 @@
1+
#' tidySummarizedExperiment: Bringing SummarizedExperiment to the Tidyverse
2+
#'
3+
#' @description
4+
#' The tidySummarizedExperiment package provides a bridge between Bioconductor
5+
#' SummarizedExperiment objects and the tidyverse. It creates an invisible layer
6+
#' that enables viewing the Bioconductor SummarizedExperiment object as a tidyverse
7+
#' tibble, and provides SummarizedExperiment-compatible dplyr, tidyr, ggplot2 and
8+
#' plotly functions. This allows users to get the best of both Bioconductor and
9+
#' tidyverse worlds.
10+
#'
11+
#' @details
12+
#' The main functions and methods are:
13+
#'
14+
#' \itemize{
15+
#' \item \code{\link{tidy}} - Convert SummarizedExperiment to tidy format
16+
#' \item \code{\link{as_tibble}} - Convert to tibble representation
17+
#' \item \code{\link{filter}}, \code{\link{select}}, \code{\link{mutate}}, \code{\link{arrange}} - dplyr verbs
18+
#' \item \code{\link{pivot_longer}}, \code{\link{pivot_wider}}, \code{\link{nest}}, \code{\link{unnest}} - tidyr functions
19+
#' \item \code{\link{ggplot}} - ggplot2 visualization
20+
#' \item \code{\link{left_join}}, \code{\link{inner_join}}, \code{\link{right_join}}, \code{\link{full_join}} - dplyr joins
21+
#' }
22+
#'
23+
#' For detailed information on usage, see the package vignette, by typing
24+
#' \code{vignette("introduction", package = "tidySummarizedExperiment")}.
25+
#'
26+
#' All software-related questions should be posted to the Bioconductor Support Site:
27+
#'
28+
#' \url{https://support.bioconductor.org}
29+
#'
30+
#' The code can be viewed at the GitHub repository:
31+
#'
32+
#' \url{https://github.com/stemangiola/tidySummarizedExperiment}
33+
#'
34+
#' @references
35+
#' Hutchison, W.J., Keyes, T.J., The tidyomics Consortium. et al. The tidyomics
36+
#' ecosystem: enhancing omic data analyses. Nat Methods 21, 1166–1170 (2024).
37+
#' \doi{10.1038/s41592-024-02299-2}
38+
#'
39+
#' @seealso
40+
#' Useful links:
41+
#' \itemize{
42+
#' \item \url{https://github.com/tidyomics/tidySummarizedExperiment}
43+
#' \item Report bugs at \url{https://github.com/tidyomics/tidySummarizedExperiment/issues}
44+
#' }
45+
#'
46+
#' @author Stefano Mangiola
47+
#'
48+
#' @docType package
49+
#' @name tidySummarizedExperiment-package
50+
#' @aliases tidySummarizedExperiment
51+
#' @keywords internal
52+
"_PACKAGE"
53+
154
#' @importFrom utils packageDescription
255
.onAttach <- function(libname, pkgname) {
356
attached <- tidyverse_attach()
@@ -8,4 +61,4 @@
861
"If you want to visualize the data in a tidy way, do library(tidyprint). ",
962
"See https://github.com/tidyomics/tidyprint for more information."
1063
)
11-
}
64+
}

man/tidySummarizedExperiment-package.Rd

Lines changed: 55 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)