
Return the ADT feature names removing the isotypes
remove_adt_isotypes.RdReturn the ADT feature names removing the isotypes
Arguments
- feature_names
Character. ADT feature names (matrix colnames or from
get_adt_names()).- pattern
String. Case-insensitive regex. Defaults to
"isotype".
Examples
# the same features with the isotype controls dropped
features <- c("CD3", "CD19", "IgG1_isotype", "IgG2a_isotype")
remove_adt_isotypes(features)
#> [1] "CD3" "CD19"