Dear list,
 
I would like to know how I can retrieve the chromosome position of each UniGene cluster id using biomaRt package. Here it is my script:
 
 > library(biomaRt)
> ensembl = useMart("ensembl", dataset = "hsapiens_gene_ensembl")
Checking attributes and filters ... ok
> unique_UniGeneCluster <- read.csv(file="C:/CGH_experiment2/unique_UniGeneCluster.txt", header=F, sep = "\t")
> a <- getGene(id = unique_UniGeneCluster, type = "unigene", mart = ensembl)
> a
NULL
> head(unique_UniGeneCluster)
         V1
1  Hs.53454
2 Hs.433201
3 Hs.519601
4 Hs.100299
5 Hs.459088
6 Hs.514038
> class(unique_UniGeneCluster)
[1] "data.frame"
> session.Info()
Error: could not find function "session.Info"
> sessionInfo()
R version 2.4.1 (2006-12-18) 
i386-pc-mingw32 
 
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
 
attached base packages:
[1] "stats"     "graphics"  "grDevices" "utils"     "datasets"  "methods"   "base"     
 
other attached packages:
     sma    limma  biomaRt    RCurl      XML 
"0.5.15" "2.9.17"  "1.8.2"  "0.8-0"  "1.6-0" 


 

Med venlig hilsen / Regards

João Fadista
Ph.d. studerende / Ph.d. student


 	
 	 AARHUS UNIVERSITET / UNIVERSITY OF AARHUS	
Det Jordbrugsvidenskabelige Fakultet / Faculty of Agricultural Sciences	
Inst. for Genetik og Bioteknologi / Dept. of Genetics and Biotechnology	
Blichers Allé 20, P.O. BOX 50	
DK-8830 Tjele	
 	
Tel:	 +45 8999 1900	
Direct:	 +45 8999 1900	
Mobile:	 +45 	
E-mail:	 Joao.Fadista@agrsci.dk <mailto:Joao.Fadista@agrsci.dk> 	
Web:	 www.agrsci.dk <http://www.agrsci.dk/> 	
________________________________

Tilmeld dig DJF's nyhedsbrev / Subscribe Faculty of Agricultural Sciences Newsletter <http://www.agrsci.dk/user/register?lan=dan-DK> . 

Denne email kan indeholde fortrolig information. Enhver brug eller offentliggørelse af denne email uden skriftlig tilladelse fra DJF er ikke tilladt. Hvis De ikke er den tiltænkte adressat, bedes De venligst straks underrette DJF samt slette emailen.

This email may contain information that is confidential. Any use or publication of this email without written permission from Faculty of Agricultural Sciences is not allowed. If you are not the intended recipient, please notify Faculty of Agricultural Sciences immediately and delete this email.



	[[alternative HTML version deleted]]

