top_genes-ClusterSet-method: Most co-expressed genes from each gene cluster

top_genes,ClusterSet-methodR Documentation

Most co-expressed genes from each gene cluster

Description

Extract the most highly co-expressed genes of each gene cluster.

Usage

## S4 method for signature 'ClusterSet'
top_genes(object, top = 20, cluster = "all")

Arguments

object

A ClusterSet object.

top

A value for the number of genes to select from each cluster.

cluster

A vector of gene cluster identity.

Value

A ClusterSet object.

Examples

# 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)


dputhier/dbfmcl documentation built on May 31, 2024, 8:57 a.m.