| 1594 | } |
| 1595 | |
| 1596 | void ChrCopyNumber::setLookingForSubclones(bool value) { |
| 1597 | isLookingForSubclones_=value; |
| 1598 | if (value) { |
| 1599 | if (coordinates_.size()==0) {cerr << "Warning: you should intialize the ChrCopyNumber object before calling this function!!!\n";} |
| 1600 | if (copy_number_subc_.size()==0) { |
| 1601 | copy_number_subc_=vector <int> (coordinates_.size(),0); |
| 1602 | } |
| 1603 | if (population_subc_.size()==0) { |
| 1604 | population_subc_=vector <float> (coordinates_.size(),0.0); |
| 1605 | } |
| 1606 | } |
| 1607 | } |
| 1608 | |
| 1609 | |
| 1610 |