getXML {biomaRt} | R Documentation |
This function is a low level query function bypassing lots of biomaRts internal controls. It allows for a direct XML query to a known BioMart webservice host.
getXML(host="http://www.biomart.org/biomart/martservice?", xmlquery)
host |
URL to BioMart webservice, is set to http://www.biomart.org/biomart/martservice? by default |
xmlquery |
XML query that needs to be send to the webservice |
Steffen Durinck
if(interactive()){ getXML(xmlquery="<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE Query><Query virtualSchemaName = 'default' uniqueRows = '1' count = '0' datasetConfigVersion = '0.6'> <Dataset name = 'hsapiens_gene_ensembl'><Attribute name = 'ensembl_gene_id'/><Filter name = 'chromosome_name' value = 'Y' /></Dataset></Query>") }