useMart {biomaRt} | R Documentation |
This function connects to the selected BioMart
useMart(biomart, host, user, password, local = FALSE)
biomart |
BioMart database name you want to connect to. Possible database names can be retrieved with the functio listMarts |
host |
If you want to use a local host or a miror database, use vector of hosts. For connecting to public BioMarts this parameter is not required |
user |
username, use vector of usernames for non public or miror BioMarts |
password |
password, use vector of passwords for non-public or miror BioMarts |
local |
boolean to specify if you want to use a locally installed BioMart or a mirror BioMart database |
Steffen Durinck, http://www.esat.kuleuven.ac.be/~sdurinck
if(interactive()){ #marts <- listMarts() #index<-grep("ensembl",marts) #mart <- useMart(marts[index]) #martDisconnect(mart = mart) }