Change barcode suffix delimiter from list of data.frames/matrices or single data.frame/matrix

Change_Delim_Suffix(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

if (FALSE) {
dge_matrix <- Change_Delim_Suffix(data = dge_matrix, current_delim = ".", new_delim = "-")
}