gene_cluster: The gene clusters stored in a ClusterSet. gene_cluster

gene_clusterR Documentation

The gene clusters stored in a ClusterSet. gene_cluster

Description

Returns a named vector (gene as names) and cluster as value.

Usage

gene_cluster(object, cluster = 0, as_string = FALSE)

Arguments

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.

Examples

# load a dataset
load_example_dataset('7871581/files/pbmc3k_medium_clusters')
g_clust <- gene_cluster(pbmc3k_medium_clusters)

dputhier/dbfmcl documentation built on Dec. 20, 2024, 1:59 a.m.