Пример #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
Пример #2
0
def test_match_smoothed_mut_STRING(with_small, overwrite):
    from pydream2015.feature.match import match_smoothed_mut_STRING
    match_smoothed_mut_STRING(therapy, smoothed_mut_STRING, 
            matched_smoothed_mut, overwrite=overwrite) 
    match_smoothed_mut_STRING(therapy_test, smoothed_mut_STRING, 
            matchedtest_smoothed_mut, overwrite=overwrite) 
    match_smoothed_mut_STRING(therapy_leader, smoothed_mut_STRING,
            matchedleader_smoothed_mut, overwrite=overwrite)