Infection primarily induces an IgA-mediated immune response, while vaccination mainly elevates IgG immunoglobulins. This evidence concerns the gene CD79A and infection.