module EnsemblREST::Regulation
Public Instance Methods
id(id, species = 'human', options = {})
click to toggle source
Returns a RegulatoryFeature given its stable ID (e.g. ENSR00001348195)
@param [String] id RegulatoryFeature stable ID @param [String] species Species name/alias @param [Hash] options Optional arguments for the service please goto rest.ensembl.org/documentation/info/regulatory_id @return [JSON] the entire ancestry of a term
# File lib/ensemblrest/regulation.rb, line 23 def id(id, species = 'human', options = {}) return EnsemblREST.get("regulatory/#{species}/#{id}", {format: 'json'}.merge(options)) end