get_CV_LFQ_pep {mpwR} | R Documentation |
Peptide-level: Quantitative precision
Description
Calculate quantitative precision on peptide-level
Usage
get_CV_LFQ_pep(input_list)
Arguments
input_list |
A list with data frames and respective quantitative peptide information. |
Details
For each submitted data the coefficient of variation is calculated on peptide-level for LFQ intensities. Only full profiles are included.
Value
This function returns the original submitted data of the input_list
including a new output column:
CV_Peptide_LFQ_mpwR - coefficient of variation in percentage.
Author(s)
Oliver Kardell
Examples
# Load libraries
library(stringr)
library(magrittr)
library(tibble)
# Example data
set.seed(123)
data <- list(
Spectronaut = list(
filename = "C",
software = "Spectronaut",
data = list(
"Spectronaut" = tibble::tibble(
Run_mpwR = rep(c("A","B"), times = 5),
Precursor.IDs_mpwR = rep(c("A2", "A3", "B2", "B3", "C1"), each = 2),
Stripped.Sequence_mpwR = rep(c("A", "B", "C", "D", "E"), each = 2),
Peptide.IDs_mpwR = rep(c("A", "B", "C", "D", "E"), each = 2),
ProteinGroup.IDs_mpwR = rep(c("A", "B", "C", "D", "E"), each = 2),
Retention.time_mpwR = sample(1:20, 10),
Peptide_LFQ_mpwR = sample(1:30, 10),
ProteinGroup_LFQ_mpwR = sample(1:30, 10))
)
)
)
# Result
output <- get_CV_LFQ_pep(
input_list = data
)
[Package mpwR version 0.1.5 Index]