annotation package: get probenames from gene names
2
0
Entering edit mode
Georg Otto ▴ 510
@georg-otto-956
Last seen 9.7 years ago
Hi, I need some help with the annotation package: To get the gene name for a given probe I perform something like this: > zebrafishGENENAME$"Dr.19073.2.S1_a_at" [1] "annexin A11a" My question is: How can I do it the other way around, i.e. get all probes with gene names containing "annexin"? Any hint will be highly appreciated. Cheers, Georg
Annotation probe Annotation probe • 812 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 57 minutes ago
United States
Hi Georg, Georg Otto wrote: > Hi, > > I need some help with the annotation package: > > To get the gene name for a given probe I perform something like this: > > >>zebrafishGENENAME$"Dr.19073.2.S1_a_at" > > [1] "annexin A11a" > > My question is: How can I do it the other way around, i.e. get all > probes with gene names containing "annexin"? > library(zebrafish) > tmp <- as.list(zebrafishGENENAME) > names(tmp[grep("annexin A11a", tmp)]) [1] "Dr.19073.2.S1_a_at" > names(tmp[grep("annexin", tmp)]) [1] "Dr.19073.2.S1_a_at" "Dr.3457.1.A1_at" "Dr.4833.1.S1_at" "Dr.20555.1.S1_s_at" [5] "Dr.20555.1.S2_s_at" "Dr.7658.1.S1_at" "Dr.11521.1.S1_at" "Dr.1190.1.S1_at" [9] "Dr.20337.1.S1_at" "Dr.11764.2.A1_at" "Dr.20555.1.S1_at" "Dr.4833.8.S1_at" [13] "Dr.1260.1.S1_at" "Dr.10293.1.S1_at" "Dr.11764.1.S1_at" "Dr.4932.1.S1_at" [17] "Dr.59.1.S1_at" HTH, Jim > > Any hint will be highly appreciated. > > Cheers, > > Georg > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor -- James W. MacDonald, M.S. Biostatistician Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623 ********************************************************** Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues.
ADD COMMENT
0
Entering edit mode
Di Wu ▴ 50
@di-wu-1709
Last seen 9.7 years ago
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20060713/ 6e9bef72/attachment.pl
ADD COMMENT

Login before adding your answer.

Traffic: 671 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6