AUPR_AUROC_matrix {KBoost} | R Documentation |
Function to calculate the AUROC and AUPR of a known network. This function was made to test the R implementation of the KBoost Package.
AUPR_AUROC_matrix(Net, G_mat, auto_remove, TFs, upper_limit)
Net |
An inferred gene regulatory network |
G_mat |
A matrix with the gold standard network. |
auto_remove |
TRUE if the auto-regulation is to be discarded. |
TFs |
the indexes of the rows of Net that are TFs. |
upper_limit |
Top number of edges to use. |
list object with AUPR and AUROC of gold standard in matrix format.
data(D4_multi_1) Net = kboost(D4_multi_1) g_mat1 = tab_2_matrix_D4(KBoost::G_D4_multi_1,100) aupr_auroc = AUPR_AUROC_matrix(Net$GRN,g_mat1,auto_remove = TRUE, seq_len(100))