Skip to main content

plot_boxplot

Function plot_boxplot 

Source
pub fn plot_boxplot(
    scores: &Vec<Vec<f64>>,
    filenames: Vec<String>,
    title: &str,
    x_title: &str,
    y_title: &str,
) -> Result<Plot, String>
Expand description

Generate a box plot of the scores/intensities for each file

§Arguments

  • scores - A vector of vectors where each inner vector contains the scores/intensities for a file
  • filenames - A vector of filenames corresponding to the scores
  • title - The title of the plot
  • x_title - The title of the x-axis
  • y_title - The title of the y-axis

§Returns

A Plot object containing the box plot