get_genes | R Documentation |
Extract genes list from each gene clusters. Can extract genes from all clusters (default) or from specified clusters.
get_genes(object, cluster = "all", top = FALSE)
object |
A |
cluster |
A vector of gene cluster identity (all by default). |
top |
A logical to indicate whether to provide top genes. |
A character vector.
load_example_dataset('7871581/files/pbmc3k_medium_clusters')
# Get all selected genes
x <- get_genes(pbmc3k_medium_clusters)
# Get genes from gene cluster 1
x<- get_genes(pbmc3k_medium_clusters, cluster = 1)
# Get top 5 genes from cluster 1
pbmc3k_medium_clusters <- top_genes(pbmc3k_medium_clusters, top = 5)
x <- get_genes(pbmc3k_medium_clusters, cluster = 1, top = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.