Gravar-mail: Statistical method for revealing form-function relations in biological networks