### Install cytomapper Development Version from GitHub Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/README.md Install the development version of the cytomapper package from GitHub. Ensure dependencies like EBImage and SingleCellExperiment are installed first. Building vignettes and installing dependencies is enabled. ```r if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager") BiocManager::install(c("EBImage", "SingleCellExperiment")) # install.packages("remotes") remotes::install_github("BodenmillerGroup/cytomapper", build_vignettes = TRUE, dependencies = TRUE) ``` -------------------------------- ### Install System Libraries for GitHub Installation Source: https://github.com/bodenmillergroup/cytomapper/wiki/Installation-issues Installs additional system libraries, including SSL development files and Pandoc, required for building Cytomapper from source or with vignettes from GitHub. ```bash sudo apt-get install libssl-dev pandoc pandoc-citeproc ``` -------------------------------- ### Install Cytomapper from GitHub Source: https://github.com/bodenmillergroup/cytomapper/wiki/Installation-issues Installs the Cytomapper package directly from its GitHub repository, including building the vignettes and installing dependencies. Requires the 'remotes' package. ```r remotes::install_github("BodenmillerGroup/cytomapper", build_vignettes = TRUE, dependencies = TRUE) ``` -------------------------------- ### Install Cytomapper from Bioconductor Source: https://github.com/bodenmillergroup/cytomapper/wiki/Installation-issues Installs the release version of the Cytomapper package from Bioconductor using the BiocManager. Ensure BiocManager is installed first. ```r BiocManager::install("cytomapper") ``` -------------------------------- ### Install remotes Package Source: https://github.com/bodenmillergroup/cytomapper/wiki/Installation-issues Installs the 'remotes' R package, which is necessary for installing R packages directly from GitHub. Start a new R session before running this command. ```r install.packages("remotes") ``` -------------------------------- ### Install System Libraries for Cytomapper Source: https://github.com/bodenmillergroup/cytomapper/wiki/Installation-issues Installs essential system libraries required for Cytomapper and its dependencies on Ubuntu. These libraries are crucial for image processing and data handling. ```bash sudo apt-get install libfftw3-3 libfftw3-dev libtiff5-dev libfontconfig1-dev libcurl4-openssl-dev ``` -------------------------------- ### Shiny UI Button Example Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui.md Demonstrates a custom styled button within a Shiny UI. This button uses inline styles and Font Awesome icons for its appearance. ```html ``` -------------------------------- ### Install Bioconductor Development Version Source: https://github.com/bodenmillergroup/cytomapper/wiki/Installation-issues Installs the development version of Bioconductor. This is typically done before installing development versions of packages like Cytomapper. ```r BiocManager::install(version = "devel") ``` -------------------------------- ### Install Latest R Version on Ubuntu 20.04 Source: https://github.com/bodenmillergroup/cytomapper/wiki/Installation-issues Installs the newest R version (v4.1 or later) and its dependencies on Ubuntu 20.04. Ensure you have the necessary keys and repositories configured. ```bash sudo apt-get update sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/' sudo apt install r-base ``` -------------------------------- ### Install BiocManager Package Source: https://github.com/bodenmillergroup/cytomapper/wiki/Installation-issues Installs the BiocManager package, which is used to manage Bioconductor packages. This is a prerequisite for installing Cytomapper from Bioconductor. ```r install.packages("BiocManager") ``` -------------------------------- ### Shiny UI Sidebar Navigation Structure Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui.md Shows a typical treeview structure for a sidebar in a Shiny application, including navigation links with icons and sub-menus. This example highlights the use of `fa` classes for icons. ```html
  • Plots
  • ``` -------------------------------- ### Shiny UI with Expression Plot and Additional Controls Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui_ondisk.md This snippet demonstrates a Shiny UI layout for an 'Expression' plot, including marker selection, a reset button, and an additional contrast marker input. It also includes the setup for a second marker selection dropdown. ```html

    Expression

    ``` -------------------------------- ### View Cytomapper Vignette Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/README.md Access the main vignette for the cytomapper package in R to get a comprehensive overview of its analysis workflow and functionality. ```r vignette("cytomapper") ``` -------------------------------- ### Navbar and Download/Help Buttons Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui.md Illustrates the structure of a Shiny application's navigation bar, including dropdown menus for notifications and tasks. It shows how to implement download links and action buttons for session information and help. ```html ``` -------------------------------- ### Navbar and Download Button Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui.new.md Illustrates a navigation bar with a download button and session information/help buttons. The download button is configured for file selection. ```html ``` -------------------------------- ### View plotPixels Function Help Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/README.md Access the detailed help documentation for the plotPixels function in R. This is useful for understanding its parameters and usage. ```r ?plotPixels ``` -------------------------------- ### Sidebar with Range Slider and Sample Selection Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui.new.md Demonstrates a sidebar menu with a range slider for plot count and a dropdown for sample selection. Includes navigation buttons for samples. ```html ``` -------------------------------- ### Shiny UI Select Input with Placeholder Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui.md Illustrates a select input control for choosing an assay, including a placeholder and configuration for maximum items. This is a common pattern for dropdown selections in Shiny. ```html
    ``` -------------------------------- ### View cytomapperShiny Function Help Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/README.md Access the detailed help documentation for the cytomapperShiny function in R. This is useful for understanding its parameters and usage. ```r ?cytomapperShiny ``` -------------------------------- ### Shiny UI with Expression and Contrast Controls Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui.md This snippet extends the basic layout by adding input fields for contrast markers alongside the expression marker selection. It's used for more detailed analysis where contrast values are needed. ```html

    Expression

    Plot 3

    ``` -------------------------------- ### Shiny UI Sidebar Navigation Structure Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui.new.md Illustrates a common sidebar navigation pattern in Shiny using nested lists for treeview menus. Includes placeholders for dynamic content. ```html ``` -------------------------------- ### Shiny Sidebar with Select Inputs Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui.md Renders a sidebar panel with two select input dropdowns. Each select input is configured with a placeholder and a maximum of one selectable item. ```html

    Plot 1

    ``` -------------------------------- ### Load cytomapper Package in R Session Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/README.md Load the cytomapper package into your current R session to make its functions available for use. ```r library(cytomapper) ``` -------------------------------- ### Shiny UI Select Input with JSON Configuration Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui.new.md Renders a select input element within a Shiny UI sidebar. Includes a script tag for JSON configuration, specifying placeholder text and maximum selectable items. ```html

    Plot 3

    ``` -------------------------------- ### Multiple Shiny Sidebars with Select Inputs Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui.md Renders two sidebar panels. The first panel contains two select inputs, and the second panel also contains two select inputs, each with specific styling and JSON configurations. ```html

    Plot 1

    Plot 2

    ``` -------------------------------- ### Citation for Cytomapper Package Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/README.md The recommended citation for the cytomapper R package, including authors, publication details, and DOI. ```text Nils Eling, Nicolas Damond, Tobias Hoch, Bernd Bodenmiller (2020). cytomapper: an R/Bioconductor package for visualization of highly multiplexed imaging data. Bioinformatics, doi: 10.1093/bioinformatics/btaa1061 ``` -------------------------------- ### Basic Shiny UI Layout with Plots Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui.md This snippet shows a basic two-column layout in Shiny for displaying expression and selection plots. It includes dropdowns for marker selection and a button to reset markers. ```html

    Expression

    Selection

    ``` -------------------------------- ### Shiny UI Layout with Expression and Selection Plots Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui_ondisk.md This snippet shows the HTML structure for a Shiny UI layout with two main columns. The left column displays an 'Expression' plot with marker selection controls, and the right column displays a 'Selection' plot. ```html

    Expression

    Selection

    ``` -------------------------------- ### Shiny Sidebar with Custom Styling Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui.new.md Renders a well-styled sidebar panel for a Shiny application. Includes a title and two select input controls with custom JSON configurations. ```html

    Plot 1

    ``` -------------------------------- ### Sidebar with General Controls Source: https://github.com/bodenmillergroup/cytomapper/blob/devel/tests/testthat/_snaps/shiny_ui.md Defines a collapsible sidebar menu in a Shiny application, featuring general controls such as a range slider for plot count and navigation for selecting samples. It demonstrates the use of input elements within a structured layout. ```html