getHOG {OmaDB}R Documentation

Get the HOG Data Function

Description

The function to obtain the information available for a Hierarchical orthologous group entry in the datase.

Usage

getHOG(id, level = NULL, members = FALSE)

Arguments

id

an identifier for the entry to be returned - either its id or one of its protein members

level

a specific level for the HOG to be restricted to - set to the root level by default. A taxonomic level can be identified by its full capitalised name e.g. "Fungi" or "Saccharomycetaceae".

members

boolean that when set to TRUE returns a dataframe containg the protein members at a given hog and/or level

Value

an object containing the JSON keys as attributes

Examples

getHOG(id = "YEAST590")
getHOG(id = "YEAST590",level="Saccharomycetaceae", members=TRUE)

[Package OmaDB version 1.0.1 Index]