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

Method calculateBAFBreakpoints

src/ChrCopyNumber.cpp:692–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

690}
691
692int ChrCopyNumber::calculateBAFBreakpoints(double threshold, int normalChrLength, int breakPointType) {
693 // bpfinal_ should already contain copy number breakpoints
694 std::vector <int> bpBAF;
695 //find breakpoints in the BAF profile
696 int chrLen = calculateBreakpoints_general(threshold,length_,BAF_,bpBAF,normalChrLength,breakPointType, getChromosome());
697 //add detected breakpoints to the breakpoints detected using copy number profiles
698 bpfinal_ = merge_no_dups(bpfinal_, bpBAF);
699 sort (bpfinal_.begin(), bpfinal_.end());
700 return chrLen;
701}
702
703int ChrCopyNumber::getCoveredPart(int breakPointStart, int breakPointEnd) { //for exome-seq: get length of the genome covered by the targeted region (from breakPointStart to breakPointEnd)
704 int lengthCovered = 0;

Callers 2

performMethod · 0.45

Calls 2

merge_no_dupsFunction · 0.85

Tested by

no test coverage detected