ids.to.uniprot: any ID to Uniprot Conversion

Description Usage Arguments Value Author(s) Examples

View source: R/AbHAC.R

Description

Converts a list of IDs (only human gene symbols, ensembl gene IDs or entrez gene IDs) to Uniprot IDs

Usage

1
ids.to.uniprot(ids = NULL, id.con.set = id.conversion.set)

Arguments

ids

is a vector of one type of ID that are either ensembl gene ID, Human gene symbol or Entez gene IDs

id.con.set

A dataframe for ID conversions provided as global variable id.conversion.set. Columns represent Entrez gene ID, Uniprot Accession, Gene Symbol, Ensembl gene ID and refseq protein ID (all human)

Value

If a Uniprot accession is not found, it returns the ID itself instead of ""

Author(s)

Mehran Karimzadeh mehran.karimzadehreghbati at mail dot mcgill dot ca

Examples

1
2
ids.to.uniprot(c("VHL","PBRM1","BRCA1","TP53"))
ids.to.uniprot(c("ENSG00000175793","ENSG00000170027"))

mehrankr/AbHAC documentation built on May 22, 2017, 3:28 a.m.