Electroencephalographic studies in hereditary myopathy