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.

Description

Function to calculate the AUROC and AUPR of a known network. This function was made to test the R implementation of the KBoost Package.

Usage

AUPR_AUROC_matrix(Net, G_mat, auto_remove, TFs, upper_limit)

Arguments

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.

Value

list object with AUPR and AUROC of gold standard in matrix format.

Examples

    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))


[Package KBoost version 1.0.0 Index]