This function expects a class Seurat
object from the Seurat package as input and converts this into a RaceID SCseq
object. The function transfers the counts, initializes ndata
and fdata
without further filtering, transfers the PCA cell embeddings from the Seurat
object to dimRed
, transfers the clustering partition, and umap
and tsne
dimensional reduction (if available). CAUTION: Cluster numbers in RaceID start at 1 by default. Hence, all Seurat cluster numbers are shifted by 1.
Seurat2SCseq(Se, rseed = 12345)
RaceID
SCseq
object.
Seurat object.
Integer number. Random seed for sampling cluster colours.