Exemplo n.º 1
0
void makeVariableThreshodlGenotype(
    Matrix& in, Matrix* out, std::vector<double>* freqOut,
    void (*collapseFunc)(Matrix&, const std::vector<int>&, Matrix*, int)) {
  std::vector<double> freqIn;
  getMarkerFrequency(in, &freqIn);

  makeVariableThreshodlGenotype(in, freqIn, out, freqOut, collapseFunc);
}
Exemplo n.º 2
0
void makeVariableThreshodlGenotype(
    DataConsolidator* dc, Matrix& in, Matrix* out, std::vector<double>* freqOut,
    void (*collapseFunc)(DataConsolidator*, Matrix&, const std::vector<int>&,
                         Matrix*, int)) {
  std::vector<double> freqIn;
  // getMarkerFrequency(in, &freqIn);
  dc->getMarkerFrequency(&freqIn);

  makeVariableThreshodlGenotype(dc, in, freqIn, out, freqOut, collapseFunc);
}