dot-merge: Clean Merge

.mergeR Documentation

Clean Merge

Description

Clean Merge

Usage

.merge(dt1, dt2, by)

Arguments

dt1

data.table

dt2

data.table

by

string

Examples

require(data.table)
dt1 <- data.table(feature_id = c('PG1', 'PG2'), gene    = c('G1', 'G2'))
dt2 <- data.table(feature_id = c('PG1', 'PG2'), protein = c('P1', 'P2'))
dt1 %<>% .merge(dt2, by = 'feature_id')
dt1

bhagwataditya/importomics documentation built on June 15, 2024, 1:05 a.m.