plot_pr_data: Generate PR plotting data

Description Usage Arguments Value Examples

Description

This function generates plotting PR data for following data visualization.

Usage

1
plot_pr_data(pr_res)

Arguments

pr_res

A list of results from multi_pr function.

Value

pr_res_df

The dataframe of results from multi_pr function, which is easy be visualized by ggplot2.

Examples

1
2
3
data(test_data)
pr_res <- multi_pr(test_data)
pr_res_df <- plot_pr_data(pr_res)

WandeRum/multiROC documentation built on May 17, 2019, 6:08 a.m.