Hello, I intend to perform automatic sleep classification of patients with Insomnia through machine learning, so I hope to find some public PSG database of Insomnia patients as training sets. Therefore, I want to know if there are insomnia patients' PSG data on NSRR, if any, and how I can quickly retrieve its location.
Thank you, Manish
Thanks for checking out the site. I recommend searching through the variables in your datasets of interest. Many datasets have insomnia-related variables that would assist in identifying subjects with previous diagnoses, symptoms, taking related medications, etc.
Here are searches in SHHS and MrOS:
Best of luck!
Thanks for your prompt reply. I am curious to know if there has been some distinction regarding normal and insomnia subjects in "PSG". Can I find PGG recording for insomnia subjects? I want to use PGS recording for insomnia identification.
Could you please help me on it?
Yes, there are PSG recordings among insomnia subjects.
Once you gain access to a dataset, e.g. SHHS, you would download the CSV dataset files from here: https://sleepdata.org/datasets/shhs/files/datasets
The dataset has a subject identifier field, nsrrid. Identify subjects with insomnia based on the variable searches I suggested in my prior post. Let's say that subject 1234567 was marked as having been told by a doctor that he/she had insomnia.
The EDF and scoring/staging annotation files for each dataset contain the subject identifer (e.g. 1234567 in this case). For SHHS Visit 1 the EDF signal files live here: https://sleepdata.org/datasets/shhs/files/polysomnography/edfs/shhs1
@mrueschman Unable to find files of subjects suffering from Insomnia in MROS dataset.
https://sleepdata.org/datasets/mros/files/datasets in this CSV dataset file which column tells whether the subject is having Insomnia or not? Can you please clarify?
From my variable search above (https://sleepdata.org/datasets/mros/variables?search=insomnia), I find this variable in MrOS: https://sleepdata.org/datasets/mros/variables/slinsomn
The slinsomn variable exists in the mros-visit1-dataset-0.6.0.csv file. Filtering to values of 1 gives me 46 records (matches graph on page linked above). Then I can look at the nsrrid column to see the IDs for these 46 subjects.