View source: R/swne_plotting.R
ExtractSWNEColors | R Documentation |
Extracts the exact colors used to plot each cluster (the hex codes) for a given color seed
ExtractSWNEColors(swne.embedding, sample.groups, seed)
swne.embedding |
SWNE embedding (list of factor and sample coordinates) from EmbedSWNE |
sample.groups |
Factor defining sample groups |
seed |
Seed for sample groups color reproducibility |
vector of color hex codes with clusters as the name
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.