CaseMatch: Match the case of character vectors

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

Match the case of character vectors

Usage

1

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

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

mrod0101/seurat documentation built on March 2, 2022, 12:17 a.m.