splitCD: Split "CD" Feature Names

Description Usage Arguments Value Examples

View source: R/BatchNorm.R

Description

Split feature names to extract "CDx" from ADT labels. splitCD converts names in the format "CDx_xxxxxx" to "CDx", while eliminating whitespace and correcting capitalization. A vector of feature names in the corrected format is returned.

Usage

1

Arguments

x

A vector of feature names to be corrected

Value

Returns a character vector of feature names in the desired format.

Examples

1
2
splitCD("CD19_TotalSeqC")
corrected.names <- splitCD(c("CD19_TotalSeqC", "CD45_TotalSeqC"))

Ghosn-Lab/BatchNorm documentation built on Dec. 17, 2021, 9:32 p.m.