Sorts taxa/columns alphabetically, ignoring the columns in the positions indicated by col.

sort_taxa(.data, cols = 1)

Arguments

.data

Data frame.

cols

Numeric vector with the columns to be ignored (metadata columns).

Value

Data frame with taxa/columns alphabetically sorted.