Description Usage Arguments Value Examples
View source: R/AUPR_AUROC_matrix.R
Function to calculate the AUROC and AUPR of a known network. This function was made to test the R implementation of the KBoost Package.
1 | 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.
1 2 3 4 | 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))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.