autoconvert: Automatically convert genes to a given format

Description Usage Arguments Value Examples

View source: R/inferorg.R

Description

Infers both the organism and genome ID format before converting to the desired format

Usage

1
autoconvert(gene_vec, to = c("symbol", "ensgene", "entrez"))

Arguments

gene_vec

Vector of input gene IDs

to

ID format to convert gene IDs to

Value

A vector of the same size as gene_vec with the mapped IDs. Any IDs that are unable to be mapped are converted to NA.

Examples

1
2
autoconvert(c("Tapbp", "B2m"), to='ensgene')
autoconvert(c(3105, 3106), to='symbol')

camlab-bioml/inferorg documentation built on Feb. 14, 2022, 12:44 a.m.