get_spatial_features: Get spatial expression features

View source: R/spatial_variable_gene.R

get_spatial_featuresR Documentation

Get spatial expression features

Description

Get spatial expression features

Usage

get_spatial_features(obj, assay, feature, bin, 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.core

number of CPU cores used

Value

return a matrix. row: gene, column: spatial expression features


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