Seurat5obj_to_SpaTopic {SpaTopic} | R Documentation |
Convert a Seurat v5 object as the input of 'SpaTopic'
Description
Prepare 'SpaTopic' input from one Seurat v5 object
Usage
Seurat5obj_to_SpaTopic(object, group.by, image = "image1")
Arguments
object |
Seurat v5 object |
group.by |
|
image |
|
Value
Return a data frame as the input of 'SpaTopic'
See Also
Examples
## nano.obj is a Seurat v5 object
#dataset<-Seurat5obj_to_SpaTopic(object = nano.obj,
# group.by = "predicted.annotation.l1",image = "image1")
## Expect output
data("lung5")
[Package SpaTopic version 1.1.0 Index]