python/pymethylprocess/utils.py
def modify_pheno_data(input_pkl,input_formatted_sample_sheet,output_pkl):
    """Use another spreadsheet to add more descriptive data to methylarray."""
    import pandas as pd
    os.makedirs(output_pkl[:output_pkl.rfind('/')],exist_ok=True)
    methyl_array = MethylationArray.from_pickle(input_pkl)
    methyl_array.merge_preprocess_sheet(pd.read_csv(input_formatted_sample_sheet,header=0))
    methyl_array.write_pickle(output_pkl)
Use another spreadsheet to add more descriptive data to methylarray.
Use another spreadsheet to add more descriptive data to methylarray.
Use another spreadsheet to add more descriptive data to methylarray .
def modify_pheno_data(input_pkl,input_formatted_sample_sheet,output_pkl):
    import pandas as pd
    os.makedirs(output_pkl[:output_pkl.rfind('/')],exist_ok=True)
    methyl_array = MethylationArray.from_pickle(input_pkl)
    methyl_array.merge_preprocess_sheet(pd.read_csv(input_formatted_sample_sheet,header=0))
    methyl_array.write_pickle(output_pkl)
def modify_pheno_data ( input_pkl , input_formatted_sample_sheet , output_pkl ) : import pandas as pd os . makedirs ( output_pkl [ : output_pkl . rfind ( '/' ) ] , exist_ok = True ) methyl_array = MethylationArray . from_pickle ( input_pkl ) methyl_array . merge_preprocess_sheet ( pd . read_csv ( input_formatted_sample_sheet , header = 0 ) ) methyl_array . write_pickle ( output_pkl )
Use another spreadsheet to add more descriptive data to methylarray.
Use another spreadsheet to add more descriptive data to methylarray .
"""Use another spreadsheet to add more descriptive data to methylarray."""
input_pkl
input_formatted_sample_sheet
output_pkl