Skip to contents

Standardize cell line names

Usage

standardizeCells(object, ...)

# S4 method for Rle
standardizeCells(object)

# S4 method for character
standardizeCells(object)

Arguments

object

character. Cell line names.

...

Additional arguments.

Value

character.

Details

Strip all non-alphanumeric characters, remove information in parentheses or brackets, and convert to uppercase.

Note that this function doesn't attempt to perform any mapping to the Cellosaurus database. For that, refer to mapCells instead.

Note

Updated 2023-09-21.

Examples

## character ====
object <- c("22Rv1", "Jurkat", "Ramos (RA-1)")
object <- standardizeCells(object)
print(object)
#> [1] "22RV1"  "JURKAT" "RAMOS"