spatial_cor | R Documentation |
Calculate spatially expression correlation between two objects. This function can be used to validation the performance of inferred data.
spatial_cor( obj1, assay1, obj2, assay2, feature = NA, bin = 20, cor.method = "pearson", n.core = 10, n.sample = 300 )
obj1 |
seurat object 1 |
assay1 |
choose assay for obj1 |
obj2 |
seurat object 2 |
assay2 |
choose assay for obj2 |
feature |
select features to calulate |
bin |
number of bins used to segregate the image |
cor.method |
method use for correlation |
n.core |
number of cores to use |
n.sample |
how many times for sampling regions |
Spatial expression correlation of each gene
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.