Description Usage Arguments Value See Also
Function to assign colours to terms based on frequency with which terms appear in term_sets
1 2 | colour_by_frequency(ontology, terms, term_sets,
colour_func = colorRampPalette(c("Yellow", "Green", "#0099FF")))
|
ontology |
|
terms |
Character vector of ontological terms |
term_sets |
List of character vectors of ontological term IDs |
colour_func |
Function capable of returning a set of colours, given the number of colours it needs to return |
Character vector of colours, named by term
colour_by_term_set
, colour_by_population_frequency
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.