Match the case of character vectors
A vector of search terms
A vector of characters whose case should be matched
Values from search present in match with the case of match
cd_genes <- c('Cd79b', 'Cd19', 'Cd200')
CaseMatch(search = cd_genes, match = rownames(x = pbmc_small))
#> Cd79b Cd19 Cd200
#> "CD79B" "CD19" "CD200"