top_genes,ClusterSet-method | R Documentation |
Extract the most highly co-expressed genes of each gene cluster.
## S4 method for signature 'ClusterSet'
top_genes(object, top = 20, cluster = "all")
object |
A |
top |
A value for the number of genes to select from each cluster. |
cluster |
A vector of gene cluster identity. |
A ClusterSet
object.
# Set verbosity to 1 to display info messages only.
set_verbosity(1)
# Load a dataset
load_example_dataset('7871581/files/pbmc3k_medium_clusters')
# Store top genes in the object
pbmc3k_medium_clusters <- top_genes(pbmc3k_medium_clusters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.