Skip to contents

Calculates observed base call counts stored in nx4 matrix bases.

Usage

observed_bc(bases)

Arguments

bases

matrix of observed base call counts.

Value

vector of observed base calls.

Examples

bases <- matrix(c( 1,  0, 9, 0,
                   5,  0, 5, 0,
                   0, 10, 0, 0),
                ncol = 4, byrow = TRUE)
# show observed base call counts
observed_bc(bases)
#> [1] "AG" "AG" "C"