Replaced data.frame by matrix in similarityTree, and solved the problem of order of varaibles so now we have exactly the same tree than in Chic. I need to do that for hierarchy (tomorrow)