overlap_detect: overlap_detect detects potential overlap between curves and...

View source: R/overlap_detect.R

overlap_detectR Documentation

overlap_detect detects potential overlap between curves and "fills in the gaps" using knn similarity

Description

overlap_detect detects potential overlap between curves and "fills in the gaps" using knn similarity

Usage

overlap_detect(fig.grp, nr_neighbors = 20)

Arguments

fig.grp

dataframe with x,y values and associated curve for each pixel

nr_neighbors

how many nearby neighbors to consider when guessing the value of missing pixels (default: 100)

Value

res.df: a dataframe with the detected x,y, group values for all curves

Examples

# overlap_detect(fig.dataframe, nr_neighbors = 20)


Pechli-Lab/SurvdigitizeR documentation built on July 17, 2024, 8:01 a.m.