Gene2GOTermAndLevel_ON {GOxploreR} | R Documentation |
Get the Gene Ontology (GO) terms associated with a gene(s) and their levels
Description
Retrieves the gene association GO-terms, also, the ontology of the terms as well as the respective levels based on the directed acyclic graph (DAG) are returned. A fast internet connection is needed for this funciton execution. The supported organisms are "Homo sapiens / Human", "Rattus norvegicus / Rat", "Mus musculus / Mouse", "Danio rerio / Zebrafish", "Caenorhabditis elegans / Worm" ,"Arabidopsis thaliana / Cress", "Saccharomyces cerevisiae / Yeast", "Schizosaccharomyces pombe / Fission yeast", "Drosophila melanogaster / Fruit fly".
Usage
Gene2GOTermAndLevel_ON(genes, organism, domain = NULL)
Arguments
genes |
A character vector of entrezgene id's belonging to an organism of interest |
organism |
An object of class character. A character string that defines the scientific / common name of the organism eg. Homo sapiens, Mouse. |
domain |
An optional object of class character. GO-terms have three domains .i.e. biological process (BP), molecular function (MF) and cellular component (CC). This character string identifies which of the three GO categories associated with the genes to return. GO terms from one domain can be returned at a time. If NULL the biological process GO-terms will be obtained (default) |
Value
A data.frame object that contains the genes, GO-terms, ontology and GO-levels
Note
This function does not provide support for Escherichia coli.
Examples
# human genes
v <- c(6713,4605, 10212, 9833, 6713)
# No value for domain is given so the default ("BP") is used
Gene2GOTermAndLevel_ON(genes = v, organism = "Human")
# The scientific names of the species can also be used
Gene2GOTermAndLevel_ON(genes = v, organism = "Homo sapiens", domain = "CC")
Gene2GOTermAndLevel_ON(genes = v, organism = "Human", domain = "MF")