Skip to contents

Plot number of missed cleavages for each analysis.

Usage

plot_MC_barplot(input_list, label = c("absolute", "percentage"))

Arguments

input_list

A list with data frames and respective information about missed cleavages.

label

Character string. Choose between "absolute" or "percentage". Default is "absolute".

Value

This function returns a list with a barplot for each analysis.

Details

For each submitted individual analysis a detailed barplot is generated with information about the number of missed cleavages.

Author

Oliver Kardell

Examples

# Load libraries
library(comprehenr)
library(tibble)

# Example data
data <- list(
 "A" = tibble::tibble(
   Analysis = c("A", "A", "A", "A", "A"),
   Missed.Cleavage = c("0", "1", "2", "3", "No R/K cleavage site"),
   mc_count = c("2513", "368", "23", "38", "10")
 ),
 "B" = tibble::tibble(
   Analysis = c("B", "B", "B", "B", "B"),
   Missed.Cleavage = c("0", "1", "2", "3", "No R/K cleavage site"),
   mc_count = c("2300", "368", "23", "38", "10")
 )
)

# Plot
plot_MC_barplot(
  input_list = data,
  label = "absolute"
)
#> $A

#> 
#> $B

#>