Map sample names to metadata field values.
Arguments
- biom
An rbiom object, such as from
as_rbiom()
.- field
The metadata field name specified as:
The metadata field name to retrieve. Can be abbreviated.
A positive integer, giving the position counting from the left.
A negative integer, giving the position counting from the right.
Default:
-1
- name
The column to be used as names for a named vector. Specified in a similar manner as var. Default:
".sample"
- ...
Passed on to
dplyr::pull()
.
See also
Other samples:
sample_sums()