Learn R Programming

hpoPlot (version 2.2)

get.case.based.colours: Function to set colours of HPO nodes in plot to distinguish terms belonging to different sets of phenotypes

Description

Function to set colours of HPO nodes in plot to distinguish terms belonging to different sets of phenotypes

Usage

get.case.based.colours(hpo.terms, terms, plotting.context)

Arguments

hpo.terms
R-Object representation of HPO
terms
Character vector of HPO terms
plotting.context
List object with hpo.phenotypes slot for list of character vectors of terms

Value

  • Character vector of colours, named by term