Statistics for Supervised Community Detection in Protein-interaction Networks