CaseMatch: Match the case of character vectors

View source: R/utilities.R

CaseMatchR Documentation

Match the case of character vectors

Description

Match the case of character vectors

Usage

CaseMatch(search, match)

Arguments

search

A vector of search terms

match

A vector of characters whose case should be matched

Value

Values from search present in match with the case of match

Examples

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


satijalab/seurat documentation built on March 20, 2024, 8:41 p.m.