check_index_treatment: Converts numeric values to column names in sample_data.

View source: R/internal.R

check_index_treatmentR Documentation

Converts numeric values to column names in sample_data.

Description

Converts numeric values to column names in sample_data.

Usage

check_index_treatment(phyloseq_obj, treatment)

Arguments

phyloseq_obj

A phyloseq-class object. It must contain sample_data()) with information about each sample, and it must contain tax_table()) with information about each taxa/gene.

treatment

Column name as a string or numeric in the sample_data. This can be any number of multiple columns and they will be combined into a new column.

Value

string


schuyler-smith/phylosmith documentation built on March 28, 2024, 11:12 p.m.