Cerebro
Visualization of scRNA-seq data.
Install / Use
/learn @romanhaa/CerebroREADME
:warning: Discontinuation notice: Sadly, Cerebro and cerebroApp are no longer in active development. See here for more info.
Cerebro
<img align="right" width="35%" height="auto" src="logo_Cerebro.png"> <!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->Table of Contents
- Introduction to the Cerebro interface
- Motivation
- Installation
- Example data sets
- Conversion of other single cell data formats
- Technical notes
- Building from source
- Troubleshooting
- Credits
- Contribute
- Citation
- License

This is the standalone version of Cerebro, cell report browser, (currently available for macOS and Windows) which allows users to interactively visualize various parts of single cell transcriptomics data without requiring bioinformatic expertise.
The core of Cerebro is the cerebroApp Shiny application which is bottled into a standalone app using Electron. Therefore, it can also be run on web servers and Linux machines, requiring only R and a set of dependencies.
Input data needs to be prepared using the cerebroApp R package which was built specifically for this purpose.
It offers functionality to export a Seurat object (both v2 and v3 are supported) to the correct format in a single step.
The file should be saved either with the .crb or .rds extension, indicating that internally it is an RDS object.
Furthermore, the cerebroApp package also provides functions to perform a set of (optional) analyses, e.g. gene set enrichment analysis, pathway enrichment analysis based on marker gene lists of groups of cells, and more.
The exported .crb file is then loaded into Cerebro and shows all available information.
Key features:
- Interactive 2D and 3D dimensional reductions.
- Sample and cluster overview panels.
- Tables of most expressed genes and marker genes for samples and clusters.
- Tables of enriched pathways for samples and clusters.
- Query gene(s) and gene sets from MSigDB and show their expression in dimensional reductions.
- NEW Visualize trajectories calculated with Monocle v2.
- All plots can be exported to PNG. In addition, 2D dimensional reductions can be exported to PDF.
- Tables can be downloaded in CSV or Excel format.
Basic examples for Seurat v2 and v3 and scanpy workflows and subsequent exporting can be found in the examples folder.
There you can also find the raw data and the output file that can be loaded into Cerebro.
Further screenshots can be found in the screenshots folder.
Introduction to the Cerebro interface
Below you find a brief description of what each panel of the Cerebro interface shows.
For more detailed description, written for biologists without computational expertise, head over here.
Load data
Select input file (.rds or .crb).
Shows number of cells, samples, clusters, as well as experiment name and organism.
Overview
Shows 2D and 3D dimensional reductions. Cells can be colored by meta data variables, automatically coloring the cells using a categorical or continuous scale. Cells can be randomly down-sampled to improve performance.
Samples
Shows sample-centric perspective of data.
- Composition of samples by cluster as table and plot.
- Distribution of number of transcripts and expressed genes by sample.
- Distribution of mitochondrial and ribosomal gene expression by sample (if it was computed with
cerebroApp). - Cell cycle by sample, either determined by the Seurat function or using Cyclone (if it was computed and assigned during exporting).
Clusters
Shows cluster-centric perspective of data.
See info about Samples panel above for more details.
Most expressed genes
If computed in cerebroApp, provides tables of most expressed genes by sample and cluster.
Marker genes
If computed in cerebroApp, provides tables of marker genes by sample and cluster.
Enriched pathways
If computed in cerebroApp, provides tables of enriched pathways in marker gene lists of samples and clusters.
Gene expression
Allows to show the expression of specified genes (showing the average per cell if multiple genes) in the data set.
Calculation is triggered after pressing SPACE or ENTER.
Multiple genes must be submitted in separate lines or separated by either space, comma, semicolon.
Shows which genes are available or missing (or misspelled) in data set.
Expression levels are shown in dimensional reductions and as violin plots for every sample and cluster.
Average expression across all cells of the 50 most expressed genes (of the ones specified by the user) are shown as well to quickly spot which genes drive the color scale.
Gene set expression
Basically the same as the gene expression panel except that it allows to select gene sets from MSigDB (requires internet connection). Only available for human and mouse data.
Trajectory
This tab gives access to trajectory information, if data is available.
Currently, we support trajectories generated by Monocle v2 which can extracted through cerebroApp::extractMonocleTrajectory().
Multiple trajectories can be added to a single Seurat object so the user here needs to choose which of those available to visualize.
Several interactive plots will be shown, including dimensional reduction, distribution of categorial variables along pseudotime, composition of transcriptional states by sample, cluster, as well as distribution of transcript counts and number of expressed genes by state.
Gene ID conversion
Provides table that allows to convert gene IDs and names. Includes GENCODE identifier, ENSEMBL identifier, HAVANA identifier, gene symbol and gene type. Only available for mouse and human. Based on GENCODE annotation version M16 (mouse) and version 27 (human).
Analysis info
Overview of parameters that were used during the analysis, as long as they were provided.
Also shows list of mitochondrial and ribosomal genes present in the data set if computed with cerebroApp.
Motivation
Single cell RNA-sequencing data is rich and complex. Allowing experimental biologists to explore the results is beneficial for the iterative scientific process of performing analysis and deriving conclusions. Cerebro provides an easy way to access the data without any bioinformatic expertise.
Installation
For people without any experience in using the command line, getting access to Cerebro is probably easiest by downloading Cerebro for your OS from here, then unpacking and launching it. Currently, Cerebro is available only for macOS and Windows.
More experienced users of all platforms can alternatively launch the app through the dedicated cerebroApp R package - which is the core Cerebro - or the romanhaa/cerebro Docker container.
Please check the image and table below for an overview of the supported operating systems and requirements of each way to start Cerebo.
<p align="center"><img src="images/launching_Cerebro.jpeg" alt="Options to launch Cerebro." width="600"/></p>| | Standalone desktop application | cerebroApp R package | Docker container | |-:|:-:|:-:|:-:| | Link | Releases | GitHub | Docker Hub | | Supported OS | macOS, Windows | macOS, Windows, Linux | macOS, Windows, Linux<br>(not all tested) | | Requirements | - | R (3.5.1 or higher) | Docker client | | Installation | Download current release from GitHub repository | Through BiocManager::install() | Pull container from Docker Hub | | Launch Cerebro | Double-click executable
