SetClusters: Set Cluster Assignments

Description Usage Arguments Value

Description

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.

Usage

1
SetClusters(object, clusters = NULL)

Arguments

object

Seurat object

clusters

A dataframe containing the cell names and cluster assignments to set for the object.

Value

Returns a Seurat object with the identities set to the cluster assignments that were passed.


mayer-lab/SeuratForMayer2018 documentation built on May 25, 2019, 9:34 p.m.