Description Usage Arguments Value Author(s) See Also Examples
In much the same way as an AnnotationDb object allows access to
select for many other annotation packages, PANTHER.db is meant
to allow usage of select methods and other supporting methods
to enable the easy extraction of data from the PANTHER gene ontology.
select, columns and keys are used together to
extract data via an PANTHER.db object.
columns shows which kinds of data can be returned for the
PANTHER.db object.
keytypes allows the user to discover which keytypes can be
passed in to select or keys via the keytype
argument.
keys returns keys for the database contained in the
PANTHER.db object. By default it will return the primary keys
for the database, which are FAMILY_ID keys, but if used with the
keytype argument, it will return the keys from that keytype.
select will retrieve the data as a data.frame based on
parameters for selected keys and columns and keytype
arguments.
pthOrganisms shows the organism label currently attached to
the PANTHER.db objects database. The organism supported by
PANTHER.db is currently restricted to the organisms supported by
the main annotation packages in Bioconductor.
The PANTHER.db object will be loaded whenever you load the
PANTHER.db package. This object will be set up to return
information on PANTHER ontology terms and accessions based on
all available organisms. The pthOrganisms<- method can be used
to restrict queries to a specific organism and resetPthOrganisms
can be used to remove the organism restriction.
availablePthOrganisms is a helper function to list out the
available Species currently supported by the PANTHER.db package
along with their official taxonomy IDs that are available by Uniprot.
The PANTHER Protein Class ontology was adapted from the PANTHER/X
molecular function ontology, and includes commonly used classes of
protein functions, many of which are not covered by GO molecular function.
traverseClassTree can be used to traverse the tree structure of
the PANTHER Protein Class ontology.
1 2 3 4 5 6 7 8 | columns(x)
keytypes(x)
keys(x, keytype,...)
select(x, keys, columns, keytype, ...)
pthOrganisms(x)
availablePthOrganisms(x)
resetPthOrganisms(x)
traverseClassTree(x,query,scope)
|
x |
the |
keys |
the keys to select records for from the database. All possible
keys are returned by using the |
columns |
the columns or kinds of things that can be retrieved from the
database. As with |
keytype |
the keytype that matches the keys used. For the
|
query |
character vector of valid PANTHER class identifiers e.g. |
scope |
character |
... |
other arguments |
keys,columns,keytypes, traverseClassTree and pthOrganisms
each return a character vector of possible values.
select and availablePthOrganisms each return a data.frame.
Julius Muller
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ## look at the object
PANTHER.db
## get the current organism
pthOrganisms(PANTHER.db)
## list the possible key types
keytypes(PANTHER.db)
## list the columns that can be retreived
columns(PANTHER.db)
## list all possible keys of type entrez gene ID.
head(keys(PANTHER.db))
## use select to extract some data
keys <- c("E1C9F4","O14618")
cols <- c("FAMILY_ID","SPECIES","FAMILY_TERM")
kt <- "UNIPROT"
select(PANTHER.db, keys, cols, kt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.