Skip to contents

rm.mbr() function is designed to remove match_between_runs between segments. This function will return a smaller tidyproteomics data-object.

Usage

rm.mbr(data = NULL, ..., .groups = c("all", "sample"))

Arguments

data

tidyproteomics data object

...

a three part expression (eg. x == a)

.groups

a character string

Value

a tibble

Examples

library(dplyr, warn.conflicts = FALSE)
library(tidyproteomics)

hela_proteins %>%
   summary('sample')
#> 
#> ── Summary: sample ──
#> 
#>     sample proteins peptides peptides_unique quantifiable  CVs
#>    control     7055    66329           58706        0.908 0.16
#>  knockdown     7055    66329           58706        0.909 0.21
#> 

hela_proteins %>%
   rm.mbr(.groups = 'sample') %>%
   summary('sample')
#> 
#> ── Summary: sample ──
#> 
#>     sample proteins peptides peptides_unique quantifiable  CVs
#>    control     7055    66329           58706        0.908 0.16
#>  knockdown     7055    66329           58706        0.909 0.21
#>