splitCD.Rd
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.
splitCD(x = NULL)
x | A vector of feature names to be corrected |
---|
Returns a character vector of feature names in the desired format.
splitCD("CD19_TotalSeqC") #> [1] "CD19" corrected.names <- splitCD(c("CD19_TotalSeqC", "CD45_TotalSeqC"))