get_indxs: Determines testing patient class based on the strength of its...

Description Usage Arguments Value

View source: R/funs_tools.R

Description

Determines testing patient class based on the strength of its similarities with the training patients that populate the two classes in comparison

Usage

1
get_indxs(PSNs_info, k1, th_v, k_feat, comp)

Arguments

PSNs_info

String character of the name of the testing profile

k1

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

th_v

Matrix: Clustering PSN of only training profiles

k_feat

Simpati object: List of variables

comp

Percentage of profiles of each class to compare with testing profile

Value

A dataframe of information for the profile class prediction, precisely: A_strength: how much is WJ similar to A profiles similarities B_strength: how much is WJ similar to B profiles similarities


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