There isn't a specific API that solely converts Affymetrix probe IDs to gene symbols. However, you can use Bioconductor packages in the R programming language to accomplish this task. One such package is the 'biomaRt' package, which allows you to access various biological databases, including Ensembl, to map Affy probe IDs to gene symbols. Here's a brief example of how you can use biomaRt to achieve this:
- Install and load the necessary packages:
Rif (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("biomaRt")
library(biomaRt)
- Choose the appropriate dataset and set up the biomaRt object:
Rensembl_mart <- useMart("ensembl")
ensembl_dataset <- useDataset("hsapiens_gene_ensembl", mart = ensembl_mart)
- Convert Affy probe IDs to gene symbols:
Raffy_ids <- c("your_probe_id_1", "your_probe_id_2", "your_probe_id_3")
results <- getBM(attributes = c("affy_hg_u133_plus_2", "external_gene_name"),
filters = "affy_hg_u133_plus_2",
values = affy_ids,
mart = ensembl_dataset)
Replace "your_probe_id_1", "your_probe_id_2", and "your_probe_id_3" with the actual Affy probe IDs you want to convert. The 'results' data frame will contain the gene symbols corresponding to the input probe IDs. Note that the "affy_hg_u133_plus_2" attribute should be replaced with the specific Affymetrix platform that you are using (e.g., "affy_hg_u133a", "affy_hg_u133b", etc.).