getOMIM {biomaRt} | R Documentation |
This function retrieves OMIM information from Ensemble given a gene identifier
getOMIM( id, type, array, mart)
id |
gene identifier |
type |
type of identifier, value should be either affy, entrezgene, embl, hugo, ensembl or refseq |
array |
array identifier only to be used if gene identifiers are from affy arrays. An overview of the accepted identifiers can be obtained with the function: getAffyArrays() |
mart |
object of class Mart, containing connections to the BioMart databases. You can creat such an object using the function martConnect. |
Steffen Durinck, http://www.esat.kuleuven.ac.be/~sdurinck
if(interactive()){ mart <- martConnect() #example using affy id omim = getOMIM( id = "1939_at", array = "hg_u95av2", mart = mart) show(omim) #example using locuslink id omim = getOMIM( id = 672, type = "entrezgene", mart = mart) show(omim) martDisconnect(mart = mart) }