R: Split taxonomic assignment strings

split_assignments {qiimer} | R Documentation

## Split taxonomic assignment strings

### Description

Split taxonomic assignment strings

### Usage

    split_assignments(assignments, ranks = taxonomic_ranks, split = "; ", ...)

### Arguments

`assignments` | Character vector of taxonomic assignments.
`ranks` | Character vector of taxonomic ranks, used as column names in the resultant data frame.
`split` | Pattern on which to split taxa in assignment strings.
`...` | Additional parameters are passed to the `strsplit` function.

### Value

A data frame of taxonomic assignments.

### See Also

`taxonomic_ranks`

### Examples

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

[Package qiimer version 0.9.4 Index]