if(interactive()){
mart = useMart("ensembl", dataset="hsapiens_gene_ensembl")
#example using affy id
g = getGene( id = "1939_at", type = "affy_hg_u95av2", mart = mart)
show(g)
#example using Entrez Gene id
g = getGene( id = "100", type = "entrezgene", mart = mart)
show(g)
}
Run the code above in your browser using DataLab