Description Usage Arguments Value See Also Examples
Plot HPO graph object
1 2 3 4 5 6 7 | hpo.plot(hpo.terms, terms = apply.term.filters(hpo.terms = hpo.terms,
plotting.context = plotting.context, term.filters = list()),
plotting.context = NULL, hpo.phenotypes = NULL, term.frequencies = NULL,
colours = "cyan", labels = get.simple.node.labels,
borders = "#FFFFFF00", sizes = 0.75, font.sizes = rep(30,
length(terms)), shapes = rep("circle", length(terms)), nodeAttrs = NULL,
arrowAttrs = list(color = "#000000"), ...)
|
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 |
hpo.phenotypes |
List of HPO term character vectors |
term.frequencies |
Numeric vector of population frequencies of terms (named by term codes) |
colours |
Function to set the colours of the HPO nodes in the graph based on the plotting context, or a character vector of colours |
labels |
Function to set the labels of the HPO nodes in the graph based on the plotting context, or a character vector of node labels |
borders |
Function to set the borders of the HPO nodes in the graph based on the plotting context, or a character vector of border colours |
sizes |
Function to set the sizes of the HPO nodes in the graph based on the plotting context, or a numeric vector of node sizes |
font.sizes |
Function to set the font sizes of the text to be placed in the HPO nodes in the graph based on the plotting context, or an integer vector of font sizes |
shapes |
Function to set the shapes of the HPO nodes in the graph based on the plotting context, or a character vector of shape names (defaults to 'circle') |
nodeAttrs |
Pass nodeAttrs directly to rgraphviz plotting function |
arrowAttrs |
List of properties to set for arrows (note, these properties will be used for all arrow) |
... |
Extra arguments to pass to plot |
Plots graph
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.