powered by
Map sample names to metadata field values.
# S3 method for rbiom pull(.data, var = -1, name = ".sample", ...)
A vector of metadata values, named with sample names.
An rbiom object, such as from as_rbiom().
as_rbiom()
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
-1
The column to be used as names for a named vector. Specified in a similar manner as var. Default: ".sample"
".sample"
Not used.
taxa_map()
Other samples: sample_sums()
sample_sums()
library(rbiom) pull(hmp50, 'Age') %>% head() pull(hmp50, 'bod') %>% head(4)
Run the code above in your browser using DataLab