Incompatible join types: x.chr (integer) and i.chr (character)

I'm trying to merge two data frames using a column name. However, I'm getting the following error:

Error in bmerge(i, x, leftcols, rightcols, roll, rollends, nomatch, mult, :
Incompatible join types: x.chr (integer) and i.chr (character)

One of the data frames has values like Chr1, chr2, chr3.... and the other one has values like 1,2,3....

I would like to know how to address this issue?

TIA

There must be two columns of the same type to perform an operation like this. Suggest

as.character(x.chr)

in appropriate data frame modification action.

2 Likes

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.