get_A_prob: Determines testing patient probability of belonging to the...

Description Usage Arguments Value

View source: R/funs_tools.R

Description

Assumes that the testing patient belongs to the first class, it iterates the Best Friend Connector algorithm to find how much it fits in the representative members of the class

Usage

1
get_A_prob(tepat, m_sim, m_sim_cl, vars_list, best_direction)

Arguments

tepat

String character of the name of the testing profile

m_sim

Matrix: Original PSN with all the profiles both training and testing

m_sim_cl

Matrix: Clustering PSN of only training profiles

vars_list

Simpati object: List of variables

best_direction

Power info result

Value

A dataframe of information for the profile class prediction, precisely: Atop: the top percentage in which the profile is included AAe: the median of the profile's AA edges DIFFe: the difference beteen the medians of profile's AA and AB edges assumption: the assumption made with the function: ASign: the profile is fake of first and signature class


LucaGiudice/Simpati documentation built on Jan. 27, 2022, 11:42 p.m.