metacoder (version 0.1.2)

split_class_list: Split a list of classifications by a row/column value

Description

Split a list of classifications into a list of list by unique values of a specific row/column.

Usage

split_class_list(classifications, row_index, col_index)

Arguments

classifications
(list of data.frame) The classifications of a set of observations. Not necessarily unique. Rows should correspond to taxa and columns to information associated with those taxa.
row_index
The row in each data.frame
col_index
The column in each data.frame

Value

list of list of data.frame