
Remove MBR from the dataset across segments
rm.mbr.Rdrm.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
Examples
library(dplyr, warn.conflicts = FALSE)
library(tidyproteomics)
hela_proteins %>%
summary('sample')
#>
#> ── Summary: sample ──
#>
#> sample proteins peptides peptides_unique quantifiable CV PC1 PC2
#> control 7055 66329 58706 0.908 0.16 0.56 0.44
#> knockdown 7055 66329 58706 0.909 0.21 0.72 0.28
#>
hela_proteins %>%
rm.mbr(.groups = 'sample') %>%
summary('sample')
#>
#> ── Summary: sample ──
#>
#> sample proteins peptides peptides_unique quantifiable CV PC1 PC2
#> control 7055 66329 58706 0.908 0.16 0.56 0.44
#> knockdown 7055 66329 58706 0.909 0.21 0.72 0.28
#>