Skip to contents

Merge or join a phip_data object

Usage

# S3 method for class 'phip_data'
merge(x, y, ...)

Arguments

x

A phip_data object.

y

A data-frame-like object or another phip_data.

...

Arguments forwarded to either base::merge() or the chosen dplyr join (e.g. by =, suffix =, etc.).

Value

A new phip_data whose data_long contains the merged / joined tibble.

Examples

pd <- load_example_data()
merged <- merge(pd, pd, by = c("sample_id", "peptide_id"))
#> Warning: [13:45:34] WARN  `merge()` copies both tables in full; this may exhaust RAM.