Learn R Programming

qiimer (version 0.9.4)

simplify_assignments: Reformat taxonomic assignments for presentation.

Description

Reformat taxonomic assignments for presentation.

Usage

simplify_assignments(assignments_df, rank1 = "Phylum", rank2 = "Genus")

Arguments

assignments_df
A data frame of taxonomic assignments.
rank1
The rank of taxonomy to use as the first word in the label.
rank2
The rank of taxonomy to use as the second word in the label.

Value

A character vector of reformatted assignment labels.

See Also

split_assignments

Examples

Run this code
data(relmbeta_assignments)
a <- split_assignments(relmbeta_assignments)
head(simplify_assignments(a))

Run the code above in your browser using DataLab