Get the uniques-vector from the input object.
This function extracts the
uniques-vector from several different data objects,
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
uniques-vector format, that same vector will be returned.
(Required). The object from which to extract the
(Optional). Default TRUE.
Should duplicate sequences detected in
(Optional). Default FALSE. Suppress reporting of the detection and merger of duplicated input sequences.
An integer vector named by unique sequence and valued by abundance.
1 2 3 4 5
derep1 = derepFastq(system.file("extdata", "sam1F.fastq.gz", package="dada2")) dada1 <- dada(derep1, err=tperr1) getUniques(derep1) getUniques(dada1) getUniques(dada1$clustering)