cluster_spatial_expr_pattern: Cluster spatial expression features

View source: R/spatial_variable_gene.R

cluster_spatial_expr_patternR Documentation

Cluster spatial expression features

Description

Clustering the genes based on the spatial expression pattern.

Usage

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
)

Arguments

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

Value

return a vector showing the genes in each cluster


Czh3/iSpatial documentation built on Sept. 15, 2022, 10:32 p.m.