grep_clust: Search genes within ClusterSet using a REGEXP.

grep_clustR Documentation

Search genes within ClusterSet using a REGEXP.

Description

Search genes within ClusterSet using a REGEXP.

Usage

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, "[Kk][Rr][Tt]")

dputhier/scigenex documentation built on Dec. 20, 2024, 2:22 a.m.