runShinySpaniel: RunShinySpaniel

Description Usage Value Examples

View source: R/shinySpaniel.R

Description

A function to visualise Spatial Transcriptomics. It requires a prepocessed Seurat Object or a SingleCellExperiment object as well as a rasterised image saved as an .rds object. There are 4 plots available in the app showing: a) the number of genes detected per spot, b) the number of reads detected per spot, c) clustering results, d) the gene expression of a selected gene." To view the clustering results the columns of the meta.data or colData containing clustering results must be prefixed with cluster_ . This can be done by using the markClusterCol() function included in Spaniel.

Usage

1

Value

Runs a Shiny App

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## mark the columns of metadata/colData that contain clustering 
## information see ?markClusterCol for more details#'  
sObj <-  readRDS(file.path(system.file(package = "Spaniel"),
                    "extdata/sceData.rds"))

img <- readRDS(file.path(system.file(package = "Spaniel"),
                    "extdata/image.rds"))

## run shinySpaniel (upload data.rds and image.rds in the shiny app)
## Not Run:
# runShinySpaniel()

RachelQueen1/Spaniel documentation built on May 20, 2021, 5:21 p.m.