consolidate | R Documentation |
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).
consolidate(x)
x |
A CSV file containing replicate pairs of binary data. See the example input file "BinMatInput_reps". |
Consolidated binary matrix.
data(BinMatInput_reps) mat = BinMatInput_reps cons = consolidate(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.