View source: R/GeneSpec-class.R
h_unique_labels | R Documentation |
This helper function generates a set of unique labels given unique IDs and not necessarily unique names.
h_unique_labels(ids, nms = NULL)
ids |
( |
nms |
( |
Character vector where empty names are replaced by the IDs and non-unique names are made unique by appending the IDs in parentheses.
h_unique_labels(c("1", "2", "3"), c("A", "B", "A"))
h_unique_labels(NULL)
h_unique_labels(c("1", "2", "3"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.