makeUnique | R Documentation |
function to make ID unique
makeUnique(sampleID, sep = "#", fromFirst = FALSE, reverse = FALSE, first = 1)
sampleID |
sampleID |
sep |
the separator |
fromFirst |
if true all replicate including the first will be marked |
reverse |
if true start marking from last |
first |
a number to start numbering from |
unique ID
a <- c("a", "a", "b", "a", "b", "c")
makeUnique(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.