group_GO {DAPAR} | R Documentation

## Calculates the GO profile of a vector of genes/proteins at a given level of the Gene Ontology

### Description

This function is a wrappper to the function groupGO from the package `clusterProfiler`. Given a vector of genes/proteins, it returns the GO profile at a specific level. It returns a groupGOResult instance.

### Usage

    group_GO(data, idFrom, orgdb, ont, level, readable = FALSE)

### Arguments

`data` | A vector of ID (among ENSEMBL, ENTREZID, GENENAME, REFSEQ, UNIGENE, UNIPROT -can be different according to organisms)
`idFrom` | character indicating the input ID format (among ENSEMBL, ENTREZID, GENENAME, REFSEQ, UNIGENE, UNIPROT)
`orgdb` | annotation Bioconductor package to use (character format)
`ont` | on which ontology to perform the analysis (MF, BP or CC)
`level` | level of the ontolofy to perform the analysis
`readable` | TRUE or FALSE (default FALSE)

### Value

GO profile at a specific level

### Author(s)

Florence Combes

### Examples

    utils::data(Exp1_R25_prot, package='DAPARdata')
    ggo<-group_GO(data=fData(Exp1_R25_prot)$Protein.IDs, idFrom="UNIPROT",
    orgdb="org.Sc.sgd.db", ont="MF", level=2)

[Package DAPAR version 1.18.5 Index]