Converting a Seurat object to a RaceID/VarID object
Converting a Seurat object to a RaceID/VarID object
This function expects a class Seurat object from the Seurat package as input and converts this into a RaceIDSCseq 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)
Arguments
Se: Seurat object.
rseed: Integer number. Random seed for sampling cluster colours.