random_GO.Rd
Generate random GO IDs
random_GO(n, ont = "BP", db = 'org.Hs.eg.db')
Number of GO IDs.
GO ontology. Value should be one of "BP", "CC" or "MF".
Annotation database. It should be from https://bioconductor.org/packages/3.10/BiocViews.html#___OrgDb
A vector of GO IDs.
# \donttest{
random_GO(100)
#> [1] "GO:0060280" "GO:0045670" "GO:0032693" "GO:2000469" "GO:0019448"
#> [6] "GO:0051569" "GO:0031167" "GO:0061615" "GO:0031122" "GO:0038113"
#> [11] "GO:0060535" "GO:0009820" "GO:1904992" "GO:1904764" "GO:1904322"
#> [16] "GO:0045542" "GO:1903251" "GO:0140627" "GO:0000479" "GO:2000587"
#> [21] "GO:1902159" "GO:0048251" "GO:1990092" "GO:0060921" "GO:1990830"
#> [26] "GO:0032652" "GO:0006811" "GO:0035946" "GO:0021819" "GO:0006069"
#> [31] "GO:1902459" "GO:0070731" "GO:0051351" "GO:0033025" "GO:0021894"
#> [36] "GO:0002074" "GO:0010824" "GO:0002225" "GO:0097501" "GO:1902232"
#> [41] "GO:0031669" "GO:0065001" "GO:0021860" "GO:0002537" "GO:1904178"
#> [46] "GO:0021798" "GO:0006172" "GO:0030859" "GO:1904155" "GO:0016070"
#> [51] "GO:1903438" "GO:0006024" "GO:0061436" "GO:0035794" "GO:0098900"
#> [56] "GO:0034136" "GO:0034203" "GO:0034653" "GO:0007229" "GO:0046449"
#> [61] "GO:0034473" "GO:0035846" "GO:0031114" "GO:1904781" "GO:0002277"
#> [66] "GO:0048596" "GO:0070966" "GO:1902618" "GO:0060375" "GO:1901827"
#> [71] "GO:0001928" "GO:1901380" "GO:0003128" "GO:0046651" "GO:1904948"
#> [76] "GO:2000737" "GO:0008295" "GO:0120158" "GO:0072182" "GO:0038009"
#> [81] "GO:0006667" "GO:0035921" "GO:0003207" "GO:0071357" "GO:0033540"
#> [86] "GO:0021986" "GO:0032793" "GO:1902846" "GO:0048250" "GO:0042327"
#> [91] "GO:0060214" "GO:0042723" "GO:0050770" "GO:1904914" "GO:0034260"
#> [96] "GO:0072716" "GO:0032597" "GO:0071384" "GO:0033128" "GO:0021869"
# }