powered by
Prepare 'SpaTopic' input from one Seurat v5 object
Seurat5obj_to_SpaTopic(object, group.by, image = "image1")
Return a data frame as the input of 'SpaTopic'
Seurat v5 object
character. The name of the column that contains celltype information in the Seurat object.
character
character. The name of the image. Default is "image1".
lung5
## 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")
Run the code above in your browser using DataLab