Giter Club home page Giter Club logo

rdiopt's Introduction

RDIOPT

RDIOPT is a simple wrapper around the DIOPT Ortholog Finder. The intention for this package is to allow querying orthologs from R directly, without copy and paste.

RDIOPT relies on the DIOPT API to query and search results.

Installation

You can install the development version of RDIOPT from GitHub with:

# install.packages("devtools")
devtools::install_github("myuhao/RDIOPT")

Example

Call find_orthologs() with some of your gene of interests. The function should give you a nice tibble with all the relevant information.

# Entrez ID always work
gene_of_interests = c(1232, 7316)
# if you have AnnotationDbi installed, the function converts it for you
if (require(org.Hs.eg.db)) {
  gene_of_interests = c("CCR3", "UBC")
}
orthologs = RDIOPT::find_orthologs(gene_of_interests, from = 9606, to = 7227, filter = "none")
colnames(orthologs)
#>  [1] "date"                         "search_gene_entrez"          
#>  [3] "filter"                       "from_entrez_geneid"          
#>  [5] "symbol"                       "description"                 
#>  [7] "chromosome"                   "gene_type"                   
#>  [9] "ensembl_geneid"               "diopt_version"               
#> [11] "from_id"                      "to_id"                       
#> [13] "to_symbol"                    "confidence"                  
#> [15] "score"                        "best_score"                  
#> [17] "max_score"                    "best_score_rev"              
#> [19] "best_score_count"             "mist_ppi"                    
#> [21] "mist_genetic"                 "to_entrez_geneid"            
#> [23] "species_id"                   "species_specific_geneid"     
#> [25] "species_specific_geneid_type" "count"                       
#> [27] "methods"

The result table has many relevant information, but it can be summarized in to three categories:

  1. Function parameters.
  2. Source gene information.
  3. Target gene information.

References

  1. DIOPT
  2. API

rdiopt's People

Contributors

myuhao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.