Ejemplo n.º 1
0
def run(therapy_user, overwrite=False):

    from pydream2015.feature.match import match_gex
    from pydream2015.feature.match import match_mut
    from pydream2015.feature.match import match_dd3dc
    from pydream2015.feature.match import match_smoothed_mut_STRING
    from pydream2015.feature.match import match_smoothed_CNV
    from pydream2015.feature.match import match_smoothed_methyl
    from pydream2015.feature.match import match_doseresponsecoef
    from pydream2015.feature.match import match_smoothed_drugeffect

    match_gex(therapy_user, gexdata, matcheduser_gex, overwrite=overwrite)
    match_mut(therapy_user, mutdata, matcheduser_mut, overwrite=overwrite)
    match_dd3dc(therapy_user, dd3dc, matcheduser_dd3dc, overwrite=overwrite)
    match_smoothed_mut_STRING(therapy_user,
                              smoothed_mut_STRING,
                              matcheduser_smoothed_mut,
                              overwrite=overwrite)
    match_smoothed_CNV(therapy_user,
                       smoothed_CNV_STRING,
                       matcheduser_smoothed_CNV,
                       overwrite=overwrite)
    match_smoothed_methyl(therapy_user,
                          smoothed_methyl_STRING,
                          matcheduser_smoothed_methyl,
                          overwrite=overwrite)
    match_doseresponsecoef(therapy_user,
                           matcheduser_doseresponsecoef,
                           overwrite=overwrite)
    match_smoothed_drugeffect(therapy_user,
                              smoothed_drugeffect_STRING,
                              matcheduser_drugeffect,
                              overwrite=overwrite)

    pass
Ejemplo n.º 2
0
def test_match_gex(with_small, overwrite):
    from pydream2015.feature.match import match_gex
    match_gex(therapy, gexdata, matched_gex, overwrite=overwrite)
    match_gex(therapy_test, gexdata, matchedtest_gex, overwrite=overwrite)
    match_gex(therapy_leader, gexdata, matchedleader_gex, overwrite=overwrite)