keys
returns the full set of keys for the annotation
database. A database "key" is a unique value that identifies a single row
of the database. By default, keys
will return a vector of all primary
database keys. The primary keys for SomaScan.db
are the SomaLogic
sequence identifiers, also called SeqIds
.
If the keytype
argument is specified, keys
will return the keys that are
available for that keytype, rather than the SeqIds
(see examples).
Arguments
- x
the
AnnotationDb
object. But in practice this will mean an object derived from anAnnotationDb
object such as aOrgDb
orChipDb
object.- keytype
the keytype that matches the keys used. For the
select
methods, this is used to indicate the kind of ID being used with the keys argument. For thekeys
method this is used to indicate which kind of keys are desired fromkeys
- ...
other arguments. These include:
- pattern:
the pattern to match (used by keys)
- column:
the column to search on. This is used by keys and is for when the thing you want to pattern match is different from the keytype, or when you want to simply want to get keys that have a value for the thing specified by the column argument.
- fuzzy:
TRUE or FALSE value. Use fuzzy matching? (this is used with pattern by the keys method)