powered by
After k-means analysis, previously run with DoKMeans, returns a set of genes associated with each cluster
GenesInCluster(object, cluster.num, max.genes = 1e+06)
Seurat object. Assumes DoKMeans has already been run
K-means cluster(s) to return genes for
max number of genes to return
A vector of genes who are members in the cluster.num k-means cluster(s)
# NOT RUN { pbmc_small # Cluster on genes only pbmc_small <- DoKMeans(object = pbmc_small, k.genes = 3) pbmc_small <- GenesInCluster(object = pbmc_small, cluster.num = 1) # }
Run the code above in your browser using DataLab