R: Reformat taxonomic assignments for presentation.

simplify_assignments {qiimer} | R Documentation

## 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

    data(relmbeta_assignments)
    a <- split_assignments(relmbeta_assignments)
    head(simplify_assignments(a))

[Package qiimer version 0.9.4 Index]