metaColnameExists: Check if a Column Exists in the Metadata of an S4 Object

View source: R/Seurat.Utils.Metadata.R

metaColnameExistsR Documentation

Check if a Column Exists in the Metadata of an S4 Object

Description

This function checks whether a given column exists in the meta.data of a Seurat object.

Usage

metaColnameExists(col_name, obj = combined.obj)

Arguments

col_name

A character string specifying the name of the column.

obj

A Seurat object.

Value

A logical value indicating whether the column exists (TRUE) or not (FALSE).


vertesy/Seurat.utils documentation built on Dec. 4, 2024, 5:20 p.m.