UniprotToGenesymbol: Convert UniProt IDs to Gene Symbols

View source: R/GenesymbolConversion.R

UniprotToGenesymbolR Documentation

Convert UniProt IDs to Gene Symbols

Description

Converts UniProt IDs to corresponding gene symbols for specified species using local databases. This function supports integration between proteomic and genomic data, enhancing the utility of proteomic identifiers in genomic analyses.

Usage

UniprotToGenesymbol(Uniprot, spe = getOption("spe"))

Arguments

Uniprot

A vector of UniProt IDs that are to be converted to gene symbols.

spe

The species for which the conversion should be performed. The default is set to the user's global option ('getOption("spe")'), but can be explicitly specified as "human" or "mouse".

Details

'UniprotToGenesymbol' utilizes a locally stored version of the UniProt database to convert UniProt IDs to gene symbols. This approach ensures fast and reliable conversions without the need for online database access. The local database includes comprehensive mappings from UniProt IDs to gene symbols for both human and mouse, facilitating seamless integration of proteomic and genomic data.

Value

Returns a vector of gene symbols corresponding to the input UniProt IDs.

Examples

# Converting UniProt IDs to human gene symbols
UniprotToGenesymbol(c("Q8NF67", "Q9NPB9"), spe = "human")

# Converting UniProt IDs to mouse gene symbols
UniprotToGenesymbol(c("Q9R1C8", "Q9QY84"), spe = "mouse")

huayc09/SeuratExtend documentation built on July 15, 2024, 6:22 p.m.