dot-allowed_edge_distance: Maximum/Minimum distance(percentage) from Edge

.allowed_edge_distanceR Documentation

Maximum/Minimum distance(percentage) from Edge

Description

Takes a percentage and calculates the cutoff value for a function to look for something. Used for find_peaks

Usage

.allowed_edge_distance(rowSums, percentage, percentageLeftSide = NULL)

Arguments

rowSums

The sum of the rows of the matrix

percentage

Percentage of the picture that you would like removed from edge if percentageLeftSide is unspecified uses percentage for both i.e left = 1 - right

percentageLeftSide

the left percentage that you want to remove(default = NULL)

Value

vector of (rightSideDistance, leftSideDistance)


Bott-binc/magnetoPackage2020 documentation built on Oct. 12, 2024, 7:49 p.m.