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