Code Monkey home page Code Monkey logo

isee2018's Introduction

Interactive visualization with iSEE

The iSEE package provides an interactive user interface for exploring data stored in SummarizedExperiment objects. This repository contains the code required to construct the tours described in the iSEE paper by Rue-Albrecht et al. (2018).

Note: these tours can be resumed from within their respective iSEE application instance, using the question mark icon in the top-right corner of the Shiny application ( ).

Setting up the tours

Overview

Each tour is composed of three files:

  • data.R: a script that contains the instructions to pre-process the data into a SummarizedExperiment or SingleCellExperiment object ready for iSEE.
  • tour.txt: a set of step-wise instructions attached to various UI elements in the iSEE user interface.
  • app.R: a script that uses the object generated by data.R to configure the iSEE application and launch the tour.

To launch a tour, successively execute data.R and app.R.

Docker containers

In addition, each tour is accompanied in this repository by two additional files illustrating the distribution of preconfigured iSEE applications in the form of Docker images, published on the Docker Hub:

  • Dockerfile: command-line instructions for docker build to assemble the image.
  • docker.R: wrapper for app.R (see above) that is executed by the Docker container on startup; it launches the preconfigured app on port 1234 of the container.

The port 1234 of a container can be published to any available port of the host machine using the -p option of docker run. For instance, docker run -p 1234:5678 makes the Shiny app available at http://localhost:5678 for the host machine.

Please refer to the Docker Documentation for further details.

Allen

The data.R script uses the Allen data subset in the scRNAseq Bioconductor package. It performs a small number of pre-processing steps (e.g., normalization, dimensionality reduction) before saving a serialized SingleCellExperiment object to file.

Live demo: https://marionilab.cruk.cam.ac.uk/iSEE_allen

Docker demo:

docker pull kevinrue/isee_allen
docker run -i --rm -p 1234:1234 kevinrue/isee_allen

TCGA

The data.R script fetches the TCGA data set from the Bioconductor ExperimentHub in the form of an ExpressionSet. It converts this to a SingleCellExperiment object and performs a small number of preprocessing steps (e.g., PCA, t-SNE) before saving the object to file.

Note: the first time that the script is run, it may take a few extra minutes, as it downloads and caches a copy of the data set if you haven't one already. Subsequent runs of the script will launch the tour significantly faster, as they will use the locally cached data set. Refer to the documentation of the ExperimentHub for further details.

Live demo: https://marionilab.cruk.cam.ac.uk/iSEE_tcga

Docker demo:

docker pull kevinrue/isee_tcga
docker run -i --rm -p 1234:1234 kevinrue/isee_tcga

PBMC 4K

This is somewhat more involved as the relevant data, while publicly available, need to be processed and analyzed. This can be achieved by following these steps:

  1. Download and unpack the PBMC 4K dataset from the 10X Genomics website.
  2. Run the analysis script. Modify the fname variable according to the path to the unpacked PBMC data files.
  3. Move the generated sce.rds object into tours/ and run pbmc4k_app.R.

Live demo: https://marionilab.cruk.cam.ac.uk/iSEE_pbmc4k

Docker demo:

docker pull kevinrue/isee_pbmc4k
docker run -i --rm -p 1234:1234 kevinrue/isee_pbmc4k

CyTOF

The data.R script downloads a preprocesed version of the data set from Bodenmiller et al (2012). See the HDCytoData package for more information about how the data was processed.

Live demo: https://marionilab.cruk.cam.ac.uk/iSEE_cytof

Docker demo:

docker pull kevinrue/isee_cytof
docker run -i --rm -p 1234:1234 kevinrue/isee_cytof

isee2018's People

Contributors

kevinrue avatar federicomarini avatar csoneson avatar ltla avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.