Mutate new columns into variable_info
mutate2variable(
object,
what = c("mean_intensity", "median_intensity", "sum_intensity", "na_number", "na_prop"),
according_to_samples = "all",
...
)
# S3 method for microbiome_dataset
mutate2variable(
object,
what = c("mean_intensity", "median_intensity", "sum_intensity", "na_number", "na_prop"),
according_to_samples = "all",
...
)
microbiome_dataset
which you want to mutate
(required) What samples used to calculate. Default is "all". If you want to use only several samples, provide their names as a vector.
other params
microbiome_dataset or data.frame.