makeUnique | R Documentation |
Creates unique CMP names by appending a counter to each duplicatation set. The function can be used for any character vector.
makeUnique(x, silent = FALSE)
x |
|
silent |
|
The function is important to maintain unique compound names in the ID slot of SDFset
containers.
character |
of same length as x but without duplications |
Thomas Girke
...
Functions: cid
, sdfid
## SDFset instance
data(sdfsample)
sdfset <- sdfsample
## Create unique compound IDs
unique_ids <- makeUnique(sdfid(sdfset))
cid(sdfset) <- unique_ids
cid(sdfset[1:4])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.