grep_clust-ClusterSet-method: Search genes within ClusterSet using a REGEXP.

grep_clust,ClusterSet-methodR Documentation

Search genes within ClusterSet using a REGEXP.

Description

Search genes within ClusterSet using a REGEXP.

Usage

## S4 method for signature 'ClusterSet'
grep_clust(object, regexp = NULL, val = TRUE)

Arguments

object

a ClusterSet object.

regexp

The regular expression

val

if FALSE, a vector containing the (integer) indices of the matches determined by grep is returned, and if TRUE, a vector containing the matching elements themselves is returned.

Examples

# load a dataset
load_example_dataset('7871581/files/pbmc3k_medium_clusters')
grep_clust(pbmc3k_medium_clusters, "^CD")

dputhier/scigenex documentation built on Jan. 29, 2024, 3:40 p.m.