Returns a named vector (gene as names) and cluster as value.
gene_cluster(object, cluster = 0, as_string = FALSE)
a ClusterSet object.
The cluster of interest. 0 means all cluster. Otherwise a non-null integer value.
Return cluster names as strings.
# load a dataset
load_example_dataset('7871581/files/pbmc3k_medium_clusters')
#> |-- INFO : Dataset 7871581/files/pbmc3k_medium_clusters was already loaded.
g_clust <- gene_cluster(pbmc3k_medium_clusters)