powered by
Calculates precision metric
calculate_precision(network_table, ground_truth)
A list containing the metric
A data frame of predicted network structure
A data frame of ground truth network
data(example_matrix) data("example_ground_truth") network_table <- inferCSN(example_matrix) calculate_precision( network_table, example_ground_truth )
Run the code above in your browser using DataLab