dot-sumThingsOrNull: .sumThingsOrNull

.sumThingsOrNullR Documentation

.sumThingsOrNull

Description

Get a sum of the uniques vector or matrix or 0 if empty

Usage

.sumThingsOrNull(y, what)

Arguments

y

a vector of dada, derep, merger objects from dada2

Details

This function uses getUniques from dada2 to extract (potentially) unique entries (ASVs, sequences or merged sequences) from a vector of suitable objects.

Value

Numeric vector for the count of entries (uniques or sequences, ASVs)

Author(s)

Emanuel Heitlinger


derele/MultiAmplicon documentation built on Dec. 11, 2024, 12:09 p.m.