python/pymethylprocess/utils.py
def write_cpgs(input_pkl,cpg_pkl):
    """Write CpGs in methylation array to file."""
    import numpy as np, pickle
    os.makedirs(cpg_pkl[:cpg_pkl.rfind('/')],exist_ok=True)
    pickle.dump(MethylationArray.from_pickle(input_pkl).return_cpgs(),open(cpg_pkl,'wb'))
Write CpGs in methylation array to file.
Write CpGs in methylation array to file.
Write CpGs in methylation array to file .
def write_cpgs(input_pkl,cpg_pkl):
    import numpy as np, pickle
    os.makedirs(cpg_pkl[:cpg_pkl.rfind('/')],exist_ok=True)
    pickle.dump(MethylationArray.from_pickle(input_pkl).return_cpgs(),open(cpg_pkl,'wb'))
def write_cpgs ( input_pkl , cpg_pkl ) : import numpy as np , pickle os . makedirs ( cpg_pkl [ : cpg_pkl . rfind ( '/' ) ] , exist_ok = True ) pickle . dump ( MethylationArray . from_pickle ( input_pkl ) . return_cpgs ( ) , open ( cpg_pkl , 'wb' ) )
Write CpGs in methylation array to file.
Write CpGs in methylation array to file .
"""Write CpGs in methylation array to file."""
input_pkl
cpg_pkl