| mockSVG | R Documentation |
Generate count matrix for spatially variable genes.
mockSVG(size, tot_genes, de_genes, return_SPE = FALSE)
size |
An |
tot_genes |
An |
de_genes |
An |
return_SPE |
A |
If return_SPE = TRUE, returns a SpatialExperiment object.
If not, a list containing:
coordinates: data.frame with x and y columns;
counts: matrix with generated gene counts.
spe <- mockSVG(size = 20, tot_genes = 3, de_genes = 1, return_SPE = TRUE)
spe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.