View source: R/spatial_variable_gene.R
spatial_variable_genes | R Documentation |
Bin the images into small chunks. For each gene, detected the numbers of expression cells in each chunk, comparing the distribution with random.
spatial_variable_genes( spRNA.obj, spRNA.assay = "enhanced", scRNA.obj = NULL, scRNA.assay = "RNA", test.use = "wilcox", bin = 20, n.core = 1 )
spRNA.obj |
spatial transcriptome seurat object |
spRNA.assay |
spatial transcriptome assay |
scRNA.obj |
scRNA-seq seurat object |
scRNA.assay |
scRNA-seq seurat assay |
test.use |
which test to use. Available options are: "ks": Kolmogorov-Smirnov Tests "wilcox": Wilcoxon Rank Sum and Signed Rank Tests |
bin |
number of bins used to segregate the image |
n.core |
number of CPU cores used |
return a matrix wtih spatial variable genes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.