Extract unique sample names from cell ids
unique_sample_names(x, sep = "-|_", pos = 1, max.nchar = NULL, replace = NULL)
character vector of cell ids
separator Default: '-|_'
position of sample name given separator. First position is 1. Default: 1
maximum number of characters to take as sample name (starting from the first). Default: NULL
a list of character vectors to replace. Takes the form list(c(old, new), c(old, new)). Default: NULL
character vector of unique sample names