• Author: Hong Xu, Hilmar Lapp
  • Maintainer: Hilmar Lapp

Most of the services provided with the Phenoscape Knowledgebase web API return data in JSON format, plain text (usually tab-delimited), and NeXML. This package facilitates interfacing with the Phenoscape Knowledgebase for searching ontology terms, retrieving term info, and querying data matrices.

Installation

The development version of RPhenoscape is available on Github. It has not yet been released to CRAN. To install RPhenoscape from Github, use the install_github() function in the remotes package (which can be installed from CRAN using install.packages()):

remotes::install_github("phenoscape/rphenoscape", build_opts=c("--no-manual"))

The custom build_opts parameter ensures that the vignette(s) will be built and installed as well. (The default for build_opts will skip building vignettes.) Building vignettes requires recent versions of the knitr and rmarkdown packages to be installed.

Once installed, the package can be loaded (“attached”) as any other R package:

library(rphenoscape)

Package Usage Information

The functionality and operations of the RPhenoscape package can be viewed on the dedicated package website: http://rphenoscape.phenoscape.org/

Use cases described there include the following:

  • Using OntoTrace to obtain a character matrix
  • Obtaining the character matrices for studies published for a taxonomic clade
  • Subsetting matrices by taxonomic subgroup or anatomical part
  • Searching for details for a given taxon

Phenoscape Knowledgebase