Git Product home page Git Product logo

ffpe_mouse_brain_explorer's Introduction

FFPE mouse brain spatial transcriptomics data explorer

With this app you can explore spatial transcriptomics data of coronal sections from mouse brain tissue presented in "Genome-wide Spatial Expression Profiling in Formalin-fixed Tissues" (Villacampa E. and Larsson. L et al).

Installation

Clone the repo from the terminal by running:

$git clone https://github.com/ludvigla/FFPE_mousebrain_explorer

To run the app, you first need to install the following R packages:

  • ggplot2
  • magrittr
  • magick
  • zeallot
  • shiny
  • shinydashboard
  • RColorBrewer
  • viridis
  • scales

You can install the packages directly with the install-packages.R script:

$Rscript install-packages.R

Run the app

From RStudio, navigate to the cloned repository:

setwd("~/FFPE_mousebrain_explorer")

You can then activate the app by running:

library(shiny)

runApp()

Or alternatively you can open the app.R file File->Open file->.../app.R and then click on the Run App at the top of the script.

How to use

When you open the app, there are two H&E images of mouse brain tissue sections overlaid by spots. The left section was collected from FFPE tissue and the right section was collected from fresh frozen (FF) tissue.

Spots are colored either by normalized expression or cell type proportions. You can visualize either data type by selecting a gene or a cell type in the top left panel.

Formatting options:

  • opacity : sets the spot opacity to control transparanecy
  • size : adjust spot size
  • colors : select colorscale
  • edgecolor : adds a border around each spot
  • scale opacity : apply a transparency scaling of the spots which is proportional to the values being visualized (low value = high transparency, high value = opaque)

ffpe_mouse_brain_explorer's People

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.