Remove segments with weird area drain
Source:R/TNETshape_removePbDrainArea.R
TNETshape_removePbDrainArea.RdThis function will take results from TNETdiagnostic_pbDrainArea() and fix some of the problems.
Arguments
Details
This function will execute TNETdiagnostic_pbDrainArea() and try to fix drain area problems drain by the following flag:
1 - Threshold_limit
All segments with Threshold_limit will be fixed by deleting all segment upstream, if the segment meets the conditions fixed by condition.
2 - Drain_Topo
This flagged is not fixed yet by this function
3 - DrainArea_NA and DrainSbv_NA
This flagged is not fixed yet by this function
4 - Sbv_bigger_Tot
This flagged is not fixed yet by this function