consolidate: Consolidates replicate pairs in a binary matrix.
Description
Reads in a binary matrix comprising replicate pairs and consolidates each pair into a consensus read. For each replicate pair at each locus, 1 & 1 -> 1 (shared presence), 0 & 0 -> 0 (shared absence), 0 & 1 -> ? (ambiguity).
Usage
consolidate(x)
Arguments
x
A CSV file containing replicate pairs of binary data. See the example input file "BinMatInput_reps".