add_cluster_numbers | R Documentation |
Adds cluster number to non-numeric cluster names.
E.g. if annot = c('Monocytes', '2')
then
annot = c('1: Monocytes', '2')
is returned
add_cluster_numbers(annot, pad_left = FALSE)
annot |
Character vector of cluster names |
pad_left |
Should cluster numbers be padded on the left? Used to align numbers for violin plot. |
annot
with cluster numbers pre-pended to non-numeric values.
annot <- c('Monocytes', '2')
add_cluster_numbers(annot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.