New insights into fundamental workings of immune system in r