A statistical approach to detect protein complexes at X-ray free electron laser facilities