@follows( exportLiverTestesSpecificCAPseqGenes, exportLiverTestesSharedCAPseqGenes, mkdir("plots") )
@merge("liver_vs_testes/*unique.genelist", r"plots/"+PARAMS["species"]+r"_liver_testes_unique_interval_dx_boxplot_rpkm.pdf")
def plotFigure3dxBoxplotRPKM( infiles, outfile):
    if len(infiles) == 2:
        liver, testes = infiles
        shared = "liver_vs_testes/liver.testes.shared.genelist"
        scriptsdir = PARAMS["scriptsdir"]
        rpkm = PARAMS["expression_rpkm"]
        R('''source("%(scriptsdir)s/R/proj007/rpkm.R") ''' % locals() )
        R('''boxplot_rpkm(liver="%(liver)s", testes="%(testes)s", shared="%(shared)s", rpkm="%(rpkm)s", outfile="%(outfile)s")''' % locals() )        
            
############################################################
Removes training data from memory, keeping only the LIBSVM/LIBLINEAR trained model,
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_proj007.py/plotFigure3dxBoxplotRPKM--crossover with--dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/SVM.finalize