How to describe switching individual 漢字？


Apologies if this question title is vague but, is there a word in Japanese
that describes a new word which is formed by switching the 漢字 around?

e.g

> 例文 -> 文例
>
> 運命 -> 命運
>
> 合併 -> 併合

How do you describe this?

