with | R Documentation |
with()
will return the result of your expression. within()
will return
an rbiom object.
## S3 method for class 'rbiom'
with(biom, ...)
## S3 method for class 'rbiom'
within(biom, ..., clone = TRUE)
biom |
An rbiom object, such as from |
... |
Passed on to |
See description.
Other transformations:
mutate()
,
rarefy()
,
rarefy_cols()
,
slice()
,
subset()
library(rbiom)
with(hmp50, table(`Body Site`, Sex))
biom <- within(hmp50, {
age_bin = cut(Age, 5)
bmi_bin = cut(BMI, 5)
})
biom$metadata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.