Skip to contents

Strips open-ended bin markers from FASTQC position/length tokens (256+, >=255 -> 256, 255), which would otherwise coerce to NA and drop the top bin. Closed ranges (A-B) are left for fastqc_bin_expand().

Usage

fastqc_bin_open(v)

Arguments

v

(character())
Vector of raw position/length bin tokens (with any trailing bp already removed).

Value

(character()) Tokens with open-bin markers stripped.

Examples

fastqc_bin_open(c("150", "145-152", "256+", ">=255"))
#> [1] "150"     "145-152" "256"     "255"