getElbowPoint: Estimation of elbow point from J-shaped-curve

View source: R/main.R

getElbowPointR Documentation

Estimation of elbow point from J-shaped-curve

Description

It provides a point of the highest curvature from a J-shaped-plot

Usage

getElbowPoint(numbers)

Arguments

numbers

Numeric vector

Details

Estimation of elbow point from J-shaped curve

Value

A list containing two elements: index, the index of a point in a sorted vector of numbers in descending order, representing the point where the tangent is closest to one, and ConnectivityCutoff, the corresponding value at that point.

Author(s)

Sora Yoon, PhD

Examples

modulefile = system.file('extdata','mouse_naiveCD4T_Vahedi_short.rds',
package = 'HiCocietyExample')
mycom = readRDS(modulefile)
connec = mycom$ModuleSummary$connectivity
getElbowPoint(connec)

HiCociety documentation built on Feb. 16, 2026, 5:10 p.m.