RISE function

Rank-based Two-Sample Tests on Similarity / Graph-Induced Rank Matrices