Finding similar sequences is not a full proof that they are the result of horizontal gene transfer, but in the case of sweet potato there are strong indications that this has happened. Indeed, Agrobacterium is specialized to transfer a part of its own DNA, the so-called T-DNA, to plants. And it is this T-DNA that has been found in sweet potato.