Closed holgerbrandl closed 7 years ago
@holgerbrandl It's not documented, but you can do what you want already by passing a different data structure to by
:
genome_join(
arrayRes,
hmmerSearchRes,
by = list(
x = c("ensembl_peptide_id", "phopho_position_start", "phopho_position_end"),
y = c("target_name", "ali_from", "ali_to")
)
)
cool, thanks for info and the great package
@dgrtwo is the author, not me! :-)
dplyr
allows to join columns with differing names in lhs and rhs via named vectors asby
argument. It would be great ifgenome_join
/interval_join
(and its variants) could support the same syntax.Example: