get_MC_Report {mpwR} | R Documentation |
Report about Missed Cleavages
Description
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 |
|
Details
For each submitted data a report is generated with information about the number of missed cleavages.
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.
Author(s)
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"
)
[Package mpwR version 0.1.5 Index]