GO_similarity {simplifyEnrichment} | R Documentation |
Calculate Gene Ontology (GO) semantic similarity matrix
GO_similarity(go_id, ont = NULL, db = 'org.Hs.eg.db', measure = "Rel")
go_id |
A vector of GO IDs. |
ont |
GO ontology. Value should be one of "BP", "CC" or "MF". If it is not specified, the function automatically identifies it by random sampling 10 IDs from |
db |
Annotation database. It should be from https://bioconductor.org/packages/3.10/BiocViews.html#___OrgDb |
measure |
Semantic measure for the GO similarity, pass to |
This function is basically a wrapper on termSim
.
A symmetric matrix.
go_id = random_GO(100) mat = GO_similarity(go_id)