Learn R Programming

HiCociety (version 0.1.38)

getElbowPoint: 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)

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.

Arguments

numbers

Numeric vector

Author

Sora Yoon, PhD

Details

Estimation of elbow point from J-shaped curve

Examples

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

Run the code above in your browser using DataLab