Among all subtypes, anti-CASPR2 encephalitis had the highest NLR and leukocyte counts. This evidence concerns the gene CNTNAP2 and encephalitis.