Learn R Programming

Seurat (version 5.0.3)

CaseMatch: Match the case of character vectors

Description

Match the case of character vectors

Usage

CaseMatch(search, match)

Value

Values from search present in match with the case of match

Arguments

search

A vector of search terms

match

A vector of characters whose case should be matched

Examples

Run this code
data("pbmc_small")
cd_genes <- c('Cd79b', 'Cd19', 'Cd200')
CaseMatch(search = cd_genes, match = rownames(x = pbmc_small))

Run the code above in your browser using DataLab