Change_Delim_All {scCustomize} | R Documentation |
Change all delimiters in cell name
Description
Change all instances of delimiter in cell names from list of data.frames/matrices or single data.frame/matrix
Usage
Change_Delim_All(data, current_delim, new_delim)
Arguments
data |
Either matrix/data.frame or list of matrices/data.frames with the cell barcodes in the column names. |
current_delim |
a single value of current delimiter. |
new_delim |
a single value of new delimiter desired. |
Value
matrix or data.frame with new column names.
Examples
## Not run:
dge_matrix <- Change_Delim_All(data = dge_matrix, current_delim = ".", new_delim = "-")
## End(Not run)
[Package scCustomize version 2.1.2 Index]