All patients had no previous history of MG and received PD-1 or PD-L1 inhibitors. This evidence concerns the gene CD274 and myasthenia gravis.