
Counts reads by number of non-A occurrence instances.
Source:R/ninetails_data_postprocessing_functions.R
count_nonA_abundance.RdCategorises reads into three abundance bins based on how many
separate non-A residue occurrences (instances) were detected per
read: "single" (1), "two" (2), or "more" (>= 3).
Returns the count of reads in each bin, optionally stratified by a
grouping variable.
Value
A tibble with columns for the grouping variable (if provided),
instances (one of "single", "two",
"more"), and count (the number of reads in each bin).
See also
count_residues for counting total residue hits,
count_class for counting read-level classes,
read_residue_single for loading residue data.