spacexr | R Documentation |
To get started, create a SpatialRNA
object (called puck
here) for the
spatial transcriptomics data and a Reference
object (called reference
here) for the
scRNA-seq data. Then simply run RCTD as:
myRCTD <- create.RCTD(puck, reference)
myRCTD <- run.RCTD(myRCTD)
After running RCTD, create an explanatory variable ('explanatory.variable') representing a covariate hypothesized to explain gene expression. Then, to detect cell type-specific differential expression, simply run CSIDE as:
myRCTD <- run.CSIDE.single(puck, explanatory.variable)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.