sample_region: Random sample spatial regions

View source: R/spatial_cor.R

sample_regionR Documentation

Random sample spatial regions

Description

Get the cell names from random sampling spatial regions

Usage

sample_region(obj, bin = 20)

Arguments

obj

seurat object

bin

number of bins used to segregate the image

Value

A vector including the cell names in a random sampling region


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