random_GO: Generate random GO IDs

Description Usage Arguments Value Examples

View source: R/similarity_GO.R

Description

Generate random GO IDs

Usage

1
random_GO(n, ont = "BP", db = 'org.Hs.eg.db')

Arguments

n

Number of GO IDs.

ont

GO ontology. Value should be one of "BP", "CC" or "MF".

db

Annotation database. It should be from https://bioconductor.org/packages/3.10/BiocViews.html#___OrgDb

Value

A vector of GO IDs.

Examples

1
random_GO(100)

simplifyEnrichment documentation built on Nov. 8, 2020, 5:07 p.m.