getUniques: Get the uniques-vector from the input object.
Description
This function extracts the uniques-vector from several different data objects,
including dada-class and derep-class objects, as well as
data.frame objects that have both $sequence and $abundance columns.
The return value is an integer vector named by sequence and valued by abundance. If the input is
already in uniques-vector format, that same vector will be returned.
Usage
getUniques(object)
Arguments
object
(Required). The object from which to extract the uniques-vector.
Value
integer.
An integer vector named by unique sequence and valued by abundance.