stephenslab / fastTopics

Fast algorithms for fitting topic models and non-negative matrix factorizations to count data.
https://stephenslab.github.io/fastTopics
Other
77 stars 7 forks source link

More gracefully handle error in structure_plot when there are not enough colours #18

Closed pcarbo closed 9 months ago

pcarbo commented 3 years ago

When the default setting of colors is used, and the number of topics is more than 9, this error will be generated:

There must be at least as many colours as topics