# Proteingroup-level: Quantitative precision

`get_CV_LFQ_pg.Rd`

Calculate quantitative precision on proteingroup-level

## Value

This function returns the original submitted data of the `input_list`

including a new output column:

CV_ProteinGroup_LFQ_mpwR - coefficient of variation in percentage.

## Details

For each submitted data the coefficient of variation is calculated on proteingroup-level for LFQ intensities. Only full profiles are included.

## 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),
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_pg(
input_list = data
)
```