colour_by_term_set | R Documentation |
Function to set colours of nodes in plot to distinguish terms belonging to different term sets
colour_by_term_set(
ontology,
terms,
term_sets,
colour_generator = rainbow,
alpha = 0.5
)
ontology |
|
terms |
Character vector of ontological terms |
term_sets |
List of character vectors of ontological term IDs |
colour_generator |
Function which returns a vector of colours, e.g. |
alpha |
|
Character vector of colours, named by term.
colour_by_frequency
, colour_by_population_frequency
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.