MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / setLookingForSubclones

Method setLookingForSubclones

src/ChrCopyNumber.cpp:1596–1607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1594}
1595
1596void 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

Callers 1

setSeekSubclonesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected