python/pymethylprocess/preprocess.py
def remove_diseases(formatted_sample_sheet, exclude_disease_list, output_sheet_name, low_count, disease_only=False,subtype_delimiter=','):
    """Exclude diseases from study by count number or exclusion list."""
    exclude_disease_list = exclude_disease_list.split(',')
    pData = PreProcessPhenoData(formatted_sample_sheet, idat_dir='', header_line=0)
    pData.remove_diseases(exclude_disease_list,low_count, disease_only,subtype_delimiter)
    pData.export(output_sheet_name)
    print("Please remove {} from idat directory, if it exists in that directory.".format(formatted_sample_sheet))
Exclude diseases from study by count number or exclusion list.
Exclude diseases from study by count number or exclusion list.
Exclude diseases from study by count number or exclusion list .
def remove_diseases(formatted_sample_sheet, exclude_disease_list, output_sheet_name, low_count, disease_only=False,subtype_delimiter=','):
    exclude_disease_list = exclude_disease_list.split(',')
    pData = PreProcessPhenoData(formatted_sample_sheet, idat_dir='', header_line=0)
    pData.remove_diseases(exclude_disease_list,low_count, disease_only,subtype_delimiter)
    pData.export(output_sheet_name)
    print("Please remove {} from idat directory, if it exists in that directory.".format(formatted_sample_sheet))
def remove_diseases ( formatted_sample_sheet , exclude_disease_list , output_sheet_name , low_count , disease_only = False , subtype_delimiter = ',' ) : exclude_disease_list = exclude_disease_list . split ( ',' ) pData = PreProcessPhenoData ( formatted_sample_sheet , idat_dir = '' , header_line = 0 ) pData . remove_diseases ( exclude_disease_list , low_count , disease_only , subtype_delimiter ) pData . export ( output_sheet_name ) print ( "Please remove {} from idat directory, if it exists in that directory." . format ( formatted_sample_sheet ) )
Exclude diseases from study by count number or exclusion list.
Exclude diseases from study by count number or exclusion list .
"""Exclude diseases from study by count number or exclusion list."""
formatted_sample_sheet
exclude_disease_list
output_sheet_name
low_count
disease_only
subtype_delimiter