Question: ath1121501 and GO
0
13.0 years ago by
Martin Olivier70 wrote:
Hi all, I need to extract information from the library ath1121501. I would like to obtain a list to have a correspondance between GO terms and the gene names. The list should be such that the names of the list are the gene names (AT4G19650" ,"AT5G47010", etc...) and each member of the list contains the vector of all the terms GO in which the gene is affected. The result should be similar to : $AT4G36260 [1] "GO:0048479" ....$AT5G47010 [1] "GO:000814" ... etc... Thanks for your help, Olivier.
go ath1121501 • 526 views
modified 13.0 years ago by James W. MacDonald51k • written 13.0 years ago by Martin Olivier70
Answer: ath1121501 and GO
0
13.0 years ago by
United States
James W. MacDonald51k wrote:
Martin Olivier wrote: > Hi all, > > I need to extract information from the library ath1121501. > I would like to obtain a list to have a correspondance between GO terms and > the gene names. > > The list should be such that the names of the list are > the gene names (AT4G19650" ,"AT5G47010", etc...) and each member of the > list > contains the vector of all the terms GO in which the gene is affected. > The result should be similar to : > > $AT4G36260 > [1] "GO:0048479" .... > >$AT5G47010 > [1] "GO:000814" ... > > etc... > a <- mget(ls(ath1121501GO)[1:10], ath1121501GO) > b <- sapply(a, names) > names(b) <- sapply(mget(ls(ath1121501GO)[1:10], ath1121501SYMBOL), function(x) x[1]) > b $ATMG00640.1 [1] "GO:0000276" "GO:0005739" "GO:0015986" "GO:0046933"$ATMG00650.1 [1] "GO:0005739" "GO:0003954" "GO:0006118" "GO:0045333" "GO:0045279" $ATMG00660.1 [1] "GO:0005739"$ATMG00670.1 [1] "GO:0012505" $ATMG00680.1 [1] "GO:0005739"$ATMG00690.1 [1] "GO:0005739" $ATMG00710.1 [1] "GO:0008372" "GO:0005554" "GO:0000004"$ATMG00720.1 [1] "GO:0008372" "GO:0005554" "GO:0000004" $ATMG00740.1 [1] "GO:0008372" "GO:0005554" "GO:0000004"$multiple [1] "multiple" HTH, Jim > > Thanks for your help, > Olivier. > > _______________________________________________ > 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.