conv_ids_cp: Converting gene IDS using orgDB

Description Usage Arguments Details Value Examples

View source: R/conv_ids_cp.R

Description

This function returns a dataframe with the translated IDs.

Usage

1
conv_ids_cp(input, from, to, db)

Arguments

input

vector of the IDs to convert

from

input ID type

to

output ID type or vector of output ID types

db

annotation database

Details

This function takes a vector of IDs and translated them from the input format to the output format using the selected orgDB. In case the orgDB is not installed before launching the function, the function will exit with error.

Value

dataframe with the translated IDs

Examples

1
2
conv_ids_cp(rownames(df), "ENSEMBL", c("ENTREZID", "GENENAME"), "org.Mmu.eg.db")
conv_ids_cp(c("IFNA1", "IFNA13", "SLC2A3"), "SYMBOL", "ENSEMBL", "org.Mmu.eg.db")

Troshchk/bioEAT documentation built on Dec. 18, 2021, 5:13 p.m.