| simplify_assignments {qiimer} | R Documentation |
Reformat taxonomic assignments for presentation.
simplify_assignments(assignments_df, rank1 = "Phylum", rank2 = "Genus")
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. |
A character vector of reformatted assignment labels.
data(relmbeta_assignments) a <- split_assignments(relmbeta_assignments) head(simplify_assignments(a))