pull.rbiom | R Documentation |
Map sample names to metadata field values.
## S3 method for class 'rbiom'
pull(.data, var = -1, name = ".sample", ...)
.data |
An rbiom object, such as from |
var |
The metadata field name specified as:
Default: |
name |
The column to be used as names for a named vector.
Specified in a similar manner as var. Default: |
... |
Not used. |
A vector of metadata values, named with sample names.
taxa_map()
Other samples:
sample_sums()
library(rbiom)
pull(hmp50, 'Age') %>% head()
pull(hmp50, 'bod') %>% head(4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.