extract_response_variable: Extract response variable columns from phyloseq sample data...

Description Usage Arguments Value

View source: R/sample_data_functions.r

Description

This function extracts specified columns from the sample data slot of a phyloseq object. It also replaces underscores in those column headers with dots, as underscores are later used for string splitting.

Usage

1
extract_response_variable(response_variables, phyloseq_object)

Arguments

response_variables

a vector of sample data variable names

phyloseq_object

the according 'sample_data()' will be looked up to receive the response columns

Value

A data frame consisting of the specified columns from 'sample_data()'


RJ333/phyloseq2ML documentation built on June 2, 2020, 9:25 p.m.