python/pymethylprocess/MethylationDataTypes.py
def write_pickle(self, output_pickle, disease=''):
        """Store phenotype data and beta values in pickle file.
        Is default file format for storing MethylationArray objects.

        Parameters
        ----------
        output_pickle
            Pickle file to store MethylationArray data.
        """
        output_dict = {}
        if 0 and os.path.exists(output_pickle):
            output_dict = pickle.load(open(output_pickle,'rb'))
        output_dict['pheno'] = self.pheno #  if not disease else 'pheno_{}'.format(disease)
        output_dict['beta'] = self.beta #  if not disease else 'beta_{}'.format(disease)
        pickle.dump(output_dict, open(output_pickle,'wb'),protocol=4)
Store phenotype data and beta values in pickle file.
        Is default file format for storing MethylationArray objects.

        Parameters
        ----------
        output_pickle
            Pickle file to store MethylationArray data.
        
Store phenotype data and beta values in pickle file.
Is default file format for storing MethylationArray objects.

Parameters

output_pickle
Pickle file to store MethylationArray data.
Store phenotype data and beta values in pickle file . Is default file format for storing MethylationArray objects . Parameters output_pickle Pickle file to store MethylationArray data .
def write_pickle(self, output_pickle, disease=''):
        output_dict = {}
        if 0 and os.path.exists(output_pickle):
            output_dict = pickle.load(open(output_pickle,'rb'))
        output_dict['pheno'] = self.pheno 
        output_dict['beta'] = self.beta 
        pickle.dump(output_dict, open(output_pickle,'wb'),protocol=4)
def write_pickle ( self , output_pickle , disease = '' ) : output_dict = { } if 0 and os . path . exists ( output_pickle ) : output_dict = pickle . load ( open ( output_pickle , 'rb' ) ) output_dict [ 'pheno' ] = self . pheno output_dict [ 'beta' ] = self . beta pickle . dump ( output_dict , open ( output_pickle , 'wb' ) , protocol = 4 )
Store phenotype data and beta values in pickle file.
Store phenotype data and beta values in pickle file .
"""Store phenotype data and beta values in pickle file.
        Is default file format for storing MethylationArray objects.

        Parameters
        ----------
        output_pickle
            Pickle file to store MethylationArray data.
        """ #  if not disease else 'pheno_{}'.format(disease) #  if not disease else 'beta_{}'.format(disease)
self
output_pickle
disease