Filters GDS files based on specific criteria (`value_type` of the dataset must be "count", the `channel_count` must be 1 and the disease state column must be present) and updates the provided DataFrame to include only those GDS IDs that meet the criteria.
Args:
gds_path (str): Path to the directory containing GDS .soft files.
disease_gds_df (pandas.DataFrame): DataFrame containing GDS IDs and associated disease information.
This DataFrame must have a column named 'gds_id' which contains GDS IDs.
Returns:
pandas.DataFrame: A filtered DataFrame containing only the rows where 'gds_id' meets the criteria (count value type and single channel).
"""
# Initialize an empty list to store valid GDS IDs
valid_gds_ids=[]
# Iterate over all files in the directory specified by gds_path