Skip to contents

The function Addposition is used to add position information to the fitted model.

Usage

Addposition(obj, posList)

Arguments

obj

A iSCMEBResObj object.

posList

A list of two columns matrices, each element contains the position information of i-th tissue section.

Examples

data(iSCMEBObj_toy)
#> Warning: data set 'iSCMEBObj_toy' not found
library(Seurat)
#> Attaching SeuratObject
posList <- iSCMEBObj_toy@posList
resList <- iSCMEBObj_toy@resList
resList <- Addposition(resList, posList)