knitr::opts_chunk$set(echo = TRUE)
This package is in early development.
This is the README for the monarchr package.
We use monarchr to retrieve and work with genetic, phenotype, and ontological information from the Monarch Inititiative monarchinitiative.org.
Monarch Initiative's API provides structured data from many biological databases. Some of the key advantages of Monarch ensue from their considerable effort to enable cross species lookups and unification of many different, often species specific ontologies.
The monarchr package has the following goals:
Also see the swagger codegen autogenerated client to the api
install.packages("devtools") devtools::install_github("charlieccarey/monarchr")
Often, we are interested in a particular gene's homologs or orthologs in another organisms.
We query Monarch by using the bioentity_homologs function.
library(monarchr) gene <- "NCBIGene:8314" results <- bioentity_homologs(gene)
The results are a list comprised of:
When we ran this query, we retrieved r nrow(results$homologs)
homologs.
library(DT) datatable(results$homologs)
See troubleshooting and other articles in documentation.
The troubleshooting article demonstrates how to verify that our homologs match the results given at Monarch Initiative's website.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.