Learn R Programming

gprofiler2 (version 0.1.4)

gconvert: Gene ID conversion.

Description

Interface to the g:Profiler tool g:Convert that uses the information in Ensembl databases to handle hundreds of types of identifiers for genes, proteins, transcripts, microarray probesets, etc, for many species, experimental platforms and biological databases. The input is flexible: it accepts a mixed list of IDs and recognises their types automatically. It can also serve as a service to get all genes belonging to a particular functional category.

Usage

gconvert(query, organism = "hsapiens", target = "ENSG",
  numeric_ns = "", mthreshold = Inf, filter_na = TRUE)

Arguments

query

vector that can consist of mixed types of gene IDs (proteins, transcripts, microarray IDs, etc), SNP IDs, chromosomal intervals or term IDs.

organism

organism name. Organism names are constructed by concatenating the first letter of the name and the family name. Example: human - 'hsapiens', mouse - 'mmusculus'.

target

target namespace.

numeric_ns

namespace to use for fully numeric IDs.

mthreshold

maximum number of results per initial alias to show. Shows all by default.

filter_na

logical indicating whether to filter out results without a corresponding target.

Value

The output is a data.frame which is a table closely corresponding to the web interface output.

Examples

Run this code
# NOT RUN {
gconvert(c("POU5F1", "SOX2", "NANOG"), organism = "hsapiens", target="AFFY_HG_U133_PLUS_2")
# }

Run the code above in your browser using DataLab