RDocumentation
Moon
Learn R
Search all packages and functions
⚠️
There's a newer version (2.4) of this package.
Take me there.
hpoPlot (version 2.0)
Functions for Plotting HPO Terms
Description
Collection of functions for manipulating sets of HPO terms and plotting them with a various options
Copy Link
Copy
Link to current version
Version
Version
2.4
2.2
2.0
1.0
Down Chevron
Install
install.packages('hpoPlot')
Monthly Downloads
138
Version
2.0
License
GPL (>= 2)
Maintainer
Daniel Greene
Last Published
January 12th, 2015
Functions in hpoPlot (2.0)
Search functions
get.mpo.to.hpo
Get MPO to HPO R-Object
get.no.borders
Function to border HPO nodes in plot with transparent borders
get.white.nodes
Function to colour HPO nodes in plot white
remove.uninformative.terms
Get a minimal set of terms which can be used to partition a set of phenotypes
p.values.for.occurrence.of.term.in.group
Get p-values for observing at least as many of each term as have been in phenotypes given information content
get.hpo.terms
Gets HPO R-Object
get.informative.node.labels
Function to label HPO nodes in plot with node description and information content
get.frequency.based.labels
Function to label HPO nodes in plot based on frequency of occurrence in phenotypes
get.node.friendly.long.names
Split up the HPO term descriptions so they fit in nodes for plot
intersection.with.branches
Intersect set of terms with branches of HPO
prune.branch
Prune all terms descending from given term down to that term and ensure no degeneracy
get.frequency.based.sizes
Function to size HPO nodes in plot based on frequency of occurrence in phenotypes
get.standard.sizes
Function to size HPO nodes in plot 0.75 inches across
clean.terms
Remove redundant/implied terms
apply.term.filters
Apply a list of term filters to a given plotting context
remove.non.pa.terms
Remove terms not descending from phenotypic abnormality
get.term.info.content
Get information content of each term in a set of phenotypes
hpo.plot
Plot HPO graph object
get.grey.borders
Function to border HPO nodes in plot with grey borders
get.term.adjacency.matrix
Get an adjacency for set of HPO terms
get.shortened.names
Get human readable, shortened (where possible) HPO term names
get.code.node.labels
Function to label HPO nodes in plot with just HPO code
term.set.list.from.character
Get list of character vector of HPO terms, given character vector of comma separated terms
setDimNames
setNames for arrays...
get.descendants
Get set of all descendants of single term
get.term.pseudo.adjacency.matrix
Get an adjacency to MRCA matrix for set of HPO terms
get.case.based.colours
Function to set colours of HPO nodes in plot to distinguish terms belonging to different sets of phenotypes
get.pop.frequency.based.colours
Function to colour HPO nodes in plot with colours based on information content/frequency of terms with respect to population
mpo.terms
MPO Terms object
mpo.to.hpo
Object containing data for mapping between MPO and HPO
get.frequency.based.colours
Function to colour HPO nodes in plot with colours based on frequency with which terms appear in phenotypes
simpleCap
Capitalise words in character vector
exclude.branch
Exclude terms descending from particular term from a character vector of terms
calibrate.sizes
Function to scale sizes of terms between two given limits
get.case.term.matrix
Get a matrix with columns of hpo terms and rows of patients,
remove.terms.with.less.than.n.occurrences
Remove terms with less than certain number of occurrences
remove.links
Remove terms with exactly one parent and child from plot
remove.uninformative.for.plot
Remove uninformative terms (fitting plotting filter format)
get.case.based.labels
Function to label HPO nodes in plot to indicate to which phenotypes each of the terms belong
get.full.labels
Function to label HPO nodes in plot with full labels
get.ancestors
Get set of all ancestors of set of terms
get.simple.node.labels
Function to label HPO nodes in plot with just node description
get.term.frequencies
Get frequency of each term in a set of phenotypes
hpoPlot
Functions for Plotting HPO Terms
n.most.frequent.terms
Select most frequently annotated terms from a set of phenotypes
swap.out.alt.ids
Remove alternate/deprecated HPO term IDs and swap for new ones
hpo.terms
HPO Terms object (based on version 887 of the HPO)
get.significance.based.sizes
Function to size HPO nodes in plot with colours based on significance of seeing this many of each term in phenotypes
get.ontology
Get R-Object representation of ontology from obo file
get.term.descendancy.matrix
Get logical descendancy matrix for set of terms
get.hpo.graph
Get HPO graph object