예제 #1
0
/**
 * Figure out the gender of samples based on the number of het calls on
 * chromosome X. This is all very human centric...
 */
std::vector<affx::Gender> GenoSeed::getGenders() {

  std::vector<affx::Gender> genders;

  /* Loop through and decide if we are male or female. */
  for(unsigned int i = 0; i < getChipCount(); i++) {
    genders.push_back(getGender(i));
  }
  return genders;
}
예제 #2
0
void MAX7219::end(void) {
    for(int i = 0; i < _elements; i++) clearDisplay(i);
    for(int i = 0; i < getChipCount(); i++) shutdown(i);
}