decide if a 3 segment chain counts as an oscillation
Source:R/oscilations.R
decide_if_oscillation.RdSee extract_oscillations for a discussion of oscillations and recognizing them in sample copy number segments.
Arguments
- left_cn
int. CN value of segment on right side of the chain
- middle_cn
int. CN value of segment middle of the chain
- middle_bound
int|Inf. Default Inf. How different the middle CN is allowed to be from either side to count as an oscillation. See extract_oscillations for a discussion of this
- ends_bound
int. Default 0. How different the ends of a 3-segment set are allowed to be to count as an oscillation