filter_difference: get the difference of two dataset where one is a subset of...

View source: R/tidyMS_MQ_workflow.R

filter_differenceR Documentation

get the difference of two dataset where one is a subset of the other.

Description

get the difference of two dataset where one is a subset of the other.

Usage

filter_difference(x, y, config)

Arguments

x

data.frame

y

data.frame

config

AnlysisConfiguration

Value

data.frame

Examples



istar <- prolfqua::sim_lfq_data_peptide_config()
istar$config <- istar$config
istar_data <- istar$data
filterPep <- prolfqua:::filter_proteins_by_peptide_count( istar_data ,  istar$config )
tmp <- filter_difference(istar_data, filterPep$data, istar$config)
stopifnot(nrow(istar_data )  - nrow(filterPep$data) == nrow(tmp))
tmp <- filter_difference(filterPep$data, istar_data , istar$config)
stopifnot(nrow(istar_data )  - nrow(filterPep$data) == nrow(tmp))


wolski/prolfqua documentation built on Oct. 31, 2024, 9:22 a.m.