Easily set the cluster assignments using the output of GetClusters() --- a dataframe with cell names as the first column and cluster assignments as the second.
SetClusters(object, clusters = NULL)
Seurat object
A dataframe containing the cell names and cluster assignments to set for the object.
Returns a Seurat object with the identities set to the cluster assignments that were passed.