markClusterCol {Spaniel} | R Documentation

## markClusterCol

### Description

A function to mark the columns containing cluster information in the metadata or colData of a Seurat or SCE object. Columns are marked with "cluster_" prefix.

### Usage

    markClusterCol(object, pattern)

### Arguments

`object` | Either a Seurat or SCE object containing clustering information
`pattern` | pattern indicating which columns contain cluster information

### Value

A Seurat or SCE object

### Examples

    SeuratObj <- readRDS(file.path(system.file(package = "Spaniel"),
                                    "extdata/SeuratData.rds"))
    SeuratObj <- markClusterCol(SeuratObj, "res")

[Package Spaniel version 1.2.0 Index]