View source: R/swne_plotting.R
RenameFactors | R Documentation |
Function for renaming NMF factors to something more interpretable. If the NMF factor name is the empty string, "", then the NMF factor will not be plotted
RenameFactors(swne.embedding, name.mapping, set.empty = T)
swne.embedding |
List of NMF and sample coordinates from EmbedSWNE |
set.empty |
If true, any old NMF names that weren't renamed are set to the empty string |
new.names |
Named character vector with the old values as names and the new values as values |
SWNE embedding with NMFs renamed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.