python/pymethylprocess/MethylationDataTypes.py
def write_db(self, conn, disease=''):
        """Store phenotype data and beta values in SQL database.

        Parameters
        ----------
        conn
            SQLite connection.
        disease
            Create new tables in db that are related to disease state by this name.
        """
        self.pheno.to_sql('pheno' if not disease else 'pheno_{}'.format(disease), con=conn, if_exists='replace')
        self.beta.to_sql('beta' if not disease else 'beta_{}'.format(disease), con=conn, if_exists='replace')
Store phenotype data and beta values in SQL database.

        Parameters
        ----------
        conn
            SQLite connection.
        disease
            Create new tables in db that are related to disease state by this name.
        
Store phenotype data and beta values in SQL database.
Parameters


Store phenotype data and beta values in SQL database . Parameters
def write_db(self, conn, disease=''):
        self.pheno.to_sql('pheno' if not disease else 'pheno_{}'.format(disease), con=conn, if_exists='replace')
        self.beta.to_sql('beta' if not disease else 'beta_{}'.format(disease), con=conn, if_exists='replace')
def write_db ( self , conn , disease = '' ) : self . pheno . to_sql ( 'pheno' if not disease else 'pheno_{}' . format ( disease ) , con = conn , if_exists = 'replace' ) self . beta . to_sql ( 'beta' if not disease else 'beta_{}' . format ( disease ) , con = conn , if_exists = 'replace' )
Store phenotype data and beta values in SQL database.
Store phenotype data and beta values in SQL database .
"""Store phenotype data and beta values in SQL database.

        Parameters
        ----------
        conn
            SQLite connection.
        disease
            Create new tables in db that are related to disease state by this name.
        """
self
conn
disease