Skip to contents

Append an index of occurence suffix to each accession number (or any character vector) making them unique

Usage

ensureUniqAccNum(accnums)

Arguments

accnums

chr a vector of accession numbers

Value

chr a vector of adjusted, unique accession numbers

Examples

if (FALSE) { # \dontrun{
c("xxx", "xxx", "xxx", "yyy", "yyy") |>
    ensureUniqAccNum()
} # }