g3Xfeatures: GX features

View source: R/features.R

g3XfeaturesR Documentation

GX features

Description

Features calculated from G function (G3est).

Usage

g3Xfeatures(rvals, gvals_new, gvals_old, type = "GH")

Arguments

rvals

vector of radius values

gvals_new

vector of new G3cross values from which to subtract expected values

gvals_old

vector of expected G3cross values

type

a character used for naming the output. "GH" for guest to host, "HG" for host to guest

Details

Takes one set of radius values and corresponding G values of two functions as input and returns features for machine learning

Value

features to be used for machine learning prediction of clustering behavior. The features are the minimum difference between the functions (min_diff), the radius at which gvals_new = 0.95 ninty_fifth_percentile, and the full width at half max of the peak formed by the difference in the functions FWHM


aproudian2/rapt documentation built on Dec. 15, 2022, 4:24 a.m.