RDocumentation
Moon
Learn R
Search all packages and functions
hpoPlot (version 2.4)
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
50
Version
2.4
License
GPL (>= 2)
Maintainer
Daniel Greene
Last Published
December 14th, 2015
Functions in hpoPlot (2.4)
Search functions
calibrate.sizes
Function to scale sizes of terms between two given limits
hpo.plot
Plot HPO graph object
get.frequency.based.labels
Function to label HPO nodes in plot based on frequency of occurrence in phenotypes
apply.term.filters
Apply a list of term filters to a given plotting context
setDimNames
setNames for arrays...
mpo.terms
MPO Terms object
get.ancestors
Get set of all ancestors of set of terms
get.term.adjacency.matrix
Get an adjacency for set of HPO terms
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.to.hpo
Object containing data for mapping between MPO and HPO
get.simple.node.labels
Function to label HPO nodes in plot with just node description
remove.uninformative.terms
Get a minimal set of terms which can be used to partition a set of phenotypes
remove.uninformative.for.plot
Remove uninformative terms (fitting plotting filter format)
intersection.with.branches
Intersect set of terms with branches of HPO
get.case.based.labels
Function to label HPO nodes in plot to indicate to which phenotypes each of the terms belong
get.term.frequencies
Get frequency of each term in a set of phenotypes
get.descendants
Get set of all descendants of single term
hpo.terms
HPO Terms object (based on version 887 of the HPO)
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.ontology
Get R-Object representation of ontology from obo file
n.most.frequent.terms
Select most frequently annotated terms from a set of phenotypes
get.shortened.names
Get human readable, shortened (where possible) HPO term names
get.mpo.to.hpo
Get MPO to HPO R-Object
get.informative.node.labels
Function to label HPO nodes in plot with node description and information content
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
clean.terms
Remove redundant/implied terms
get.term.descendancy.matrix
Get logical descendancy matrix for set of terms
get.case.based.colours
Function to set colours of HPO nodes in plot to distinguish terms belonging to different sets of phenotypes
remove.terms.with.less.than.n.occurrences
Remove terms with less than certain number of occurrences
get.term.pseudo.adjacency.matrix
Get an adjacency to MRCA matrix for set of HPO terms
get.hpo.graph
Get HPO graph object
prune.branch
Prune all terms descending from given term down to that term and ensure no degeneracy
swap.out.alt.ids
Remove alternate/deprecated HPO term IDs and swap for new ones
hpoPlot
Functions for Plotting HPO Terms
get.node.friendly.long.names
Split up the HPO term descriptions so they fit in nodes for plot
exclude.branch
Exclude terms descending from particular term from a character vector of terms
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
get.case.term.matrix
Get a matrix with columns of hpo terms and rows of patients,
get.full.labels
Function to label HPO nodes in plot with full labels
get.frequency.based.colours
Function to colour HPO nodes in plot with colours based on frequency with which terms appear in phenotypes
get.term.info.content
Get information content of each term in a set of phenotypes
get.frequency.based.sizes
Function to size HPO nodes in plot based on frequency of occurrence in phenotypes
remove.non.pa.terms
Remove terms not descending from phenotypic abnormality
remove.links
Remove terms with exactly one parent and child from plot
simpleCap
Capitalise words in character vector