コード例 #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
ファイル: test_match.py プロジェクト: jehoons/sbie_weinberg
def test_match_mut(with_small, overwrite):
    from pydream2015.feature.match import match_mut
    match_mut(therapy, mutdata, matched_mut, overwrite=overwrite) 
    match_mut(therapy_test, mutdata, matchedtest_mut, overwrite=overwrite) 
    match_mut(therapy_leader, mutdata, matchedleader_mut, overwrite=overwrite)