Description Usage Arguments Value TODO Author(s) Examples
Enchanced mget to look up x in y. Changes in addition to
mget
include:
* Values can be sorted
alphanumerically
* Since some keys have multiple
values, this function returns all, just the first (hint;
use first=TRUE, sort=TRUE
), assuming that the
first is the oldest, or all values collapsed into a
single string.
* keys in x
are allowed to be
NA
(hint: na.rm=FALSE
)
1 2 |
x |
a vector of keys, |
y |
an env, or AnnDbBimap, or ProbeAnnDbBimap |
sort |
logical: if |
first |
logical: if |
na.rm |
logical: remove those keys that had no
matches? if |
collapse |
specify a character(1), eg “", "”
to collapse multiple values |
either a vector or list of values, depending on the value
of na.rm
, and collapse
provide more sorting options to choose the newest.
Mark Cowley, 2011-08-25
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.