prepareSpatialDecon | R Documentation |
Preparing the inputs for SpatialDecon for doing deconvolution on spatial data
prepareSpatialDecon(
spe,
assay2use = "logcounts",
negProbeName = "NegProbe-WTX",
pool = NA
)
spe |
SpatialExperiment object. |
assay2use |
The name of the assay to use. By default is logcounts. |
negProbeName |
The name of the negative probe gene. By default is NegProbe-WTX. |
pool |
A vector indicates the pools of the genes. This is required when there are more than one Negative Probes. |
A list of two dataframes. The first data.frame is the normalised count, the second data.frame is the background for the data.
library(ExperimentHub)
eh <- ExperimentHub()
query(eh, "standR")
countFile <- eh[["EH7364"]]
sampleAnnoFile <- eh[["EH7365"]]
spe <- readGeoMx(countFile, sampleAnnoFile, rmNegProbe = FALSE)
out <- prepareSpatialDecon(spe)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.