Skip to content

Repository files navigation

AnnotationGx

GitHub R package versionGitHub R package version (development)R-CMD-checkcodecovDocker Pulls

Installation

You can install from github using:

remotes::install_github(
"bhklab/AnnotationGx", build_manual=TRUE, build_vignettes=TRUE
)

Example

First load the package:

library(AnnotationGx)
help(package="AnnotationGx")

Annotate cell line using cellosaurus:

name<-"A549"
mapCell2Accession(name)

Annotate drugs using PubChem:

drugs<- c(
"Aspirin", "Erlotinib", "Acadesine", "Camptothecin", "Vincaleukoblastine", "Cisplatin"
)
(compound_2_cids<- mapCompound2CID(drugs, first=TRUE))
mapCID2Properties(
ids=compound_2_cids$cids,
properties= c("Title", "MolecularFormula", "InChIKey", "MolecularWeight")
)
annotatePubchemCompound(
cids=compound_2_cids$cids,, heading="CAS"
)

About

An R package to query various bio/chem-informatics databases APIs to construct annotation files.

Resources

Stars

2 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors

Languages