GithubHelp home page GithubHelp logo

geneconverter's Introduction

geneConverter

The goal of geneConverter is to provides functions to convert gene synonyms to gene names and homologous gene names of several organism includes human.

Installation

You can install the development version of geneConverter like so:

#install.packages("devtools)
library(devtools)
install_github("thekaplanlab/geneConverter")

Example orthoConverter

Here is an example data frame including gene names in one column:

gene_names Ensembl_ID
aat-1 WBGene00000003
bicd-1 WBGene00016611
gtl-2 WBGene00001795
CG12320 FBgn0038590

orthoConverter function converts gene synonyms (if any) in the selected column to gene names. This makes it easier to transform gene synonyms to gene names even when the column contains a mixture of gene synonyms and gene names. This function can also be used to be sure all elements are gene names and there is no gene synonym in the table. Output is the same data table with all other columns preserved. If given data completely consisist of Ensembl ID’s, please choose Ensembl version of that organism while using ctype argument. If you want there is a table which explains the abbreviation and creatures for ctype argument. You can examine it with View(cre_table).

Usage orthoConverter

df<-orthoConverter(example, "gene_names", ctype = celeg)
converted_genes Ensembl_ID
SLC7A6 WBGene00000003
SLC7A7 WBGene00000003
SLC7A10 WBGene00000003
SLC7A5 WBGene00000003
SLC7A8 WBGene00000003
BICD1 WBGene00016611
BICD2 WBGene00016611
CG12320 FBgn0038590
TRPM1 WBGene00001795
TRPM3 WBGene00001795
TRPM7 WBGene00001795

If drop = TRUE argument used, result will be like this:

df<-orthoConverter(example, "gene_names", ctype = celeg, drop = TRUE)
converted_genes Ensembl_ID
1 SLC7A6 WBGene00000003
2 SLC7A7 WBGene00000003
3 SLC7A10 WBGene00000003
4 SLC7A5 WBGene00000003
5 SLC7A8 WBGene00000003
6 BICD1 WBGene00016611
7 BICD2 WBGene00016611
9 TRPM1 WBGene00001795
10 TRPM3 WBGene00001795
11 TRPM7 WBGene00001795

geneconverter's People

Contributors

furkankepenek avatar oktaykaplan avatar

Stargazers

Samet Ayaz avatar İrem Kahveci avatar Mehmet Emin ORHAN avatar

Watchers

Mustafa Samet Pir avatar İrem Kahveci avatar Samet Ayaz avatar  avatar

Forkers

ayazovic12

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.