Description Usage Arguments Value Author(s) Examples
The key IDs ('id'
in @sinfo
or @binder
) should be unique
throughout the samples and binders, in order to distinguish among them. So,
any id
s repeatedly used are amended by adding "*" and the digit
indicating how many times the same ids have been employed ahead as a suffix
(e.g. HPA0001, HPA0001*1)
rm_repeat_indicator
- Remove the additional suffix (repeat indicator)
make.unique_key_ids
generate unique 'id's by adding the suffices. When
necessary, the indicators previously attached are removed first.
1 2 3 | rm_repeat_indicator(ids)
make.unique_key_ids(ids)
|
ids |
a |
rm_repeat_indicator
A vector
of character
of
the 'id' after removal of the indicator
make.unique_key_ids
A vector
of character
of
cleaned 'id's with the suffix
Mun-Gwan Hong <mun-gwan.hong@scilifelab.se>
1 2 3 | rm_repeat_indicator(c("HPA001", "HPA001*1"))
make.unique_key_ids(c("HPA001", "HPA003", "HPA001", "HPA001", "HPA003"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.