Skip to contents

Generates report with information about number of missed cleavages

Usage

get_MC_Report(input_list, metric = c("absolute", "percentage"))

Arguments

input_list

A list with data frames and respective missed cleavage information.

metric

"absolute" for absolute numbers or "percentage" for displaying percentages. Default is absolute.

Value

This function returns a list. For each analysis a respective data frame including information of missed cleavages is stored in the generated list.

  • Analysis - analysis name.

  • Missed.Cleavage - categorical entry with number of missed cleavages.

  • mc_count - number of missed cleavages per categorical missed cleavage entry - absolute or in percentage.

Details

For each submitted data a report is generated with information about the number of missed cleavages.

Author

Oliver Kardell

Examples

# Load libraries
library(tibble)
library(magrittr)
library(stringr)

# Example data
data <- list(
Spectronaut = list(
  filename = "C",
  software = "Spectronaut",
  data = list(
     "Spectronaut" = tibble::tibble(
        Stripped.Sequence_mpwR = c("A", "B", "C", "D", "E"),
        Missed.Cleavage_mpwR = c(0, 1, 1, 2, 2)
     )
  )
)
)

# Result
output <- get_MC_Report(
  input_list = data,
  metric = "absolute"
)