Skip to main content

plot_pp

Function plot_pp 

Source
pub fn plot_pp(
    scores: &Vec<f64>,
    labels: &Vec<i32>,
    title: &str,
) -> Result<Plot, String>
Expand description

Generate a P-P plot as described in Debrie, E. et. al. (2023) Journal of Proteome Research.

§Arguments

  • top_targets - The top scores for the targets
  • top_decoys - The top scores for the decoys
  • title - The title of the plot

§Returns

A Plot object containing the P-P plot