get_exp_loc: Title Retrieves data (feature expression, PCA scores,...

View source: R/general.R

get_exp_locR Documentation

Title Retrieves data (feature expression, PCA scores, metrics, etc.) for a set of cells in a Seurat object and add the coordinate position of X and Y of spatial chip.

Description

Title Retrieves data (feature expression, PCA scores, metrics, etc.) for a set of cells in a Seurat object and add the coordinate position of X and Y of spatial chip.

Usage

get_exp_loc(object, features, cells = NULL, slot = "scale.data", ...)

Arguments

object

the Seurat object

features

the var want to select

cells

the cell want to subset

slot

must be one of "counts","data","scale.data"

...

inherit

Value

data

Examples

#

wangjiaxuan666/Spat documentation built on Jan. 4, 2023, 8:35 a.m.