gene_cluster,ClusterSet-method | R Documentation |
Returns a named vector (gene as names) and cluster as value.
## S4 method for signature 'ClusterSet'
gene_cluster(object, cluster = 0, as_string = FALSE)
object |
a ClusterSet object. |
cluster |
The cluster of interest. 0 means all cluster. Otherwise a non-null integer value. |
as_string |
Return cluster names as strings. |
# load a dataset
load_example_dataset('7871581/files/pbmc3k_medium_clusters')
g_clust <- gene_cluster(pbmc3k_medium_clusters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.