get_annotation: Helper to get annotation list from a physeq object

Description Usage Arguments Value

Description

Helper to get annotation list from a physeq object

Usage

1
get_annotation(physeq, annotation_names = NULL)

Arguments

physeq

A phyloseq object with a nonempty sample data slot

annotation_names

A character vector giving the names of sample data columns to extract

Value

annotation_interaction A list containing the following elements $annotation: The columns of the sample_data data.frame requested from annotation_names $interaction_label: The factor vector containing all combinations of levels in the annotation variables.


krisrs1128/phyloseqExtend documentation built on May 20, 2019, 1:31 p.m.