View source: R/spatial_variable_gene.R
cluster_spatial_expr_pattern | R Documentation |
Clustering the genes based on the spatial expression pattern.
cluster_spatial_expr_pattern( obj, assay = "enhanced", feature, bin = 20, n.cluster = 12, cluster.method = "ward.D2", cor.method = "pearson", ncol.plot = 4, n.core = 1 )
obj |
seurat object |
assay |
assay to use |
feature |
features (genes) to get spatial expression patterns |
bin |
number of bins used to segregate the image |
n.cluster |
number of clusters |
cluster.method |
hclust method |
cor.method |
correlation method |
ncol.plot |
number of columns for plotting |
n.core |
number of CPU cores used |
return a vector showing the genes in each cluster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.