|
| 1 | +#' tidySingleCellExperiment: Brings SingleCellExperiment to the Tidyverse |
| 2 | +#' |
| 3 | +#' @description |
| 4 | +#' The tidySingleCellExperiment package provides a bridge between Bioconductor |
| 5 | +#' single-cell packages and the tidyverse. It enables viewing the Bioconductor |
| 6 | +#' SingleCellExperiment object as a tidyverse tibble, and provides |
| 7 | +#' SingleCellExperiment-compatible dplyr, tidyr, ggplot and plotly functions. |
| 8 | +#' This allows users to get the best of both Bioconductor and tidyverse worlds. |
| 9 | +#' |
| 10 | +#' @details |
| 11 | +#' tidySingleCellExperiment is an adapter that abstracts the SingleCellExperiment |
| 12 | +#' container in the form of a tibble. This allows *tidy* data manipulation, nesting, |
| 13 | +#' and plotting. For example, a tidySingleCellExperiment is directly compatible |
| 14 | +#' with functions from tidyverse packages dplyr and tidyr, as well as plotting |
| 15 | +#' with ggplot2 and plotly. In addition, the package provides various utility |
| 16 | +#' functions specific to single-cell omics data analysis (e.g., aggregation of |
| 17 | +#' cell-level data to pseudobulks). |
| 18 | +#' |
| 19 | +#' The main features are: |
| 20 | +#' |
| 21 | +#' \itemize{ |
| 22 | +#' \item Full compatibility with SingleCellExperiment methods |
| 23 | +#' \item Tidy manipulation with \code{\link[dplyr]{dplyr}} functions: \code{select}, \code{filter}, \code{mutate}, \code{arrange}, etc. |
| 24 | +#' \item Tidy transformation with \code{\link[tidyr]{tidyr}} functions: \code{pivot_longer}, \code{nest}, \code{unnest}, etc. |
| 25 | +#' \item Direct plotting with \code{\link[ggplot2]{ggplot}} and \code{\link[plotly]{plot_ly}} |
| 26 | +#' \item \code{\link{aggregate_cells}} - Aggregate cell gene-transcription abundance as pseudobulk tissue |
| 27 | +#' \item \code{\link{as_tibble}} - Convert cell-wise information to a tibble |
| 28 | +#' \item \code{\link{join_features}} - Add feature-wise information, returns a tidySingleCellExperiment object |
| 29 | +#' } |
| 30 | +#' |
| 31 | +#' For detailed information on usage, see the package vignette, by typing |
| 32 | +#' \code{vignette("introduction", package = "tidySingleCellExperiment")}. |
| 33 | +#' |
| 34 | +#' All software-related questions should be posted to the Bioconductor Support Site: |
| 35 | +#' |
| 36 | +#' \url{https://support.bioconductor.org} |
| 37 | +#' |
| 38 | +#' The code can be viewed at the GitHub repository: |
| 39 | +#' |
| 40 | +#' \url{https://github.com/stemangiola/tidySingleCellExperiment} |
| 41 | +#' |
| 42 | +#' @references |
| 43 | +#' Hutchison, W.J., Keyes, T.J., The tidyomics Consortium. et al. The tidyomics ecosystem: enhancing omic data analyses. Nat Methods 21, 1166–1170 (2024). https://doi.org/10.1038/s41592-024-02299-2 |
| 44 | +#' |
| 45 | +#' @seealso |
| 46 | +#' Useful links: |
| 47 | +#' \itemize{ |
| 48 | +#' \item \url{https://github.com/stemangiola/tidySingleCellExperiment} |
| 49 | +#' \item \url{https://stemangiola.github.io/tidySingleCellExperiment/} |
| 50 | +#' \item Report bugs at \url{https://github.com/stemangiola/tidySingleCellExperiment/issues} |
| 51 | +#' } |
| 52 | +#' |
| 53 | +#' Related packages: |
| 54 | +#' \itemize{ |
| 55 | +#' \item \code{\link[SingleCellExperiment]{SingleCellExperiment}} - The core Bioconductor single-cell data structure |
| 56 | +#' \item \code{\link[tidySummarizedExperiment]{tidySummarizedExperiment}} - For tidy manipulation of SummarizedExperiment objects |
| 57 | +#' \item tidyseurat - For tidy manipulation of Seurat objects |
| 58 | +#' \item tidybulk - For tidy bulk RNA-seq data analysis |
| 59 | +#' } |
| 60 | +#' |
| 61 | +#' @author Stefano Mangiola \email{mangiolastefano@@gmail.com} |
| 62 | +#' |
| 63 | +#' @docType package |
| 64 | +#' @name tidySingleCellExperiment-package |
| 65 | +#' @aliases tidySingleCellExperiment |
| 66 | +#' @keywords internal |
| 67 | +"_PACKAGE" |
0 commit comments