| makeApp | R Documentation |
Make a shiny app to interactively explore data
makeApp(
pos,
gexp,
results,
title,
description = NULL,
pal = colorRampPalette(c("blue", "grey", "red"))(100),
scale = TRUE,
zlim = c(-1.5, 1.5),
...
)
pos |
Position |
gexp |
Gene expression |
results |
Dataframe of analysis results |
title |
Page title |
description |
Page description |
pal |
Color ramp palette |
scale |
Boolean of whether to scale and center expression values |
zlim |
Color range |
... |
Additional plotting parameters |
Shiny app
data(mOB)
pos <- mOB$pos
gexp <- as.matrix(normalizeCounts(mOB$counts, log=FALSE))
results <- mOB$results
results[, 1:3] <- round(results[, 1:3], digits=3)
makeApp(pos,
gexp,
results,
title='mOB',
description='Mouse Olfactory Bulb Spatial Transcriptomics Data')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.