Merge or join a phip_data object
Usage
# S3 method for class 'phip_data'
merge(x, y, ...)Arguments
- x
A
phip_dataobject.- 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.).
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.