corr_BB_mat: Corrects the values of similarities of patients belonging to...

Description Usage Arguments Value

View source: R/funs_top_clustering_bffs_v7.R

Description

Given the intra and inter similarities of one patient belonging to the second class which is signature, it increases the intra values more the inter are low, it decreases the intra values more the inter are high. In case, the first class is not signature it corrects in the opposite way.

Usage

1
corr_BB_mat(mat, nAs, strong = T)

Arguments

mat

adjacency matrix of a patient similarity network

nAs

number of patients composing the second class

strong

Default TRUE, if the second class is signature class of the PSN passed as matrix (mat)

Value

correct input PSN with adjusted values of similarities


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