get.coverage.matrix: Coverage Matrix

View source: R/optimization_ILP.R

get.coverage.matrixR Documentation

Coverage Matrix

Description

Constructs a coverage matrix where rows indicate templates and columns indicate primers.

Usage

get.coverage.matrix(primer.df, template.df, constraints = NULL)

Arguments

primer.df

Primer data frame.

template.df

Template data frame.

constraints

A character vector of coverage constraints to be used as entries for the coverage matrix instead of the 0/1 encoding. At its default setting (NULL), the 0/1 encoding is used.

Details

Entry (i,j) in the matrix is equal to 1 if primer j covers template i and otherwise 0.

Value

The binary coverage matrix.


matdoering/openPrimeR documentation built on July 4, 2025, 3:59 a.m.