Description Usage Arguments Details Value Author(s) Examples
This function searches the the Gene Ontology terms for a specific pattern. If run in interactive mode and if the pattern matches more then one term, the user is presented in a menu to choose one term.
1 2 |
pattern |
A |
namespace |
One or multiple GO namespaces to search for
|
ignore.case |
Should case be ignored. Default is |
interactive |
If |
graphics |
Should a graphical menu be used. Defaults to
|
... |
Additional parameters, except |
This function searches the identifier, term and synonym fields of
all Gene Ontology or only a subset of the possible namespaces. The
pattern is cases insensitive, unless otherwise stated, and more
pattern matching can be further parametrised by passing additional
arguments to the underlying grep
function.
If more than one match is found and the function is used interactively, the user is presented with a menu to select a single term. If the users exits the menu without any selection (by choosing 0 or cancel), all matching identifiers are returned, as if the search was performed in non-interactive mode.
If not match is found, NULL
is returned invisibly with a
message.
A character
with the identifiers of matched GO
terms of invisibly NULL
if no matches were found.
Laurent Gatto
1 2 3 4 5 6 | i <- interactive()
searchGO("Golgi", interactive = i)
searchGO("Golgi apparatus", interactive = i)
searchGO("Golgi apparatus", namespace = "CC", interactive = i)
searchGO("Golgi apparatus", namespace = "BP", interactive = i)
searchGO("Golgi apparatus", namespace = "MF", interactive = i)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.