Exemplo n.º 1
0
 def post(self):
     args = request.get_json()
     checkplot = CheckPlot(args=args, purpose="subtypeplotsinglegene", rplot="subtypeplot_singlegene.R")
     res = checkplot.check_run()
     if res["run"]:
         checkplot.plot(filepath=res["filepath"])
     return {"subtypesinglegeneuuid": res["uuid"]}
Exemplo n.º 2
0
Arquivo: deg.py Projeto: yanding/GSCA
 def post(self):
     args = request.get_json()
     checkplot = CheckPlot(args=args, purpose="degplot", rplot="degplot.R")
     res = checkplot.check_run()
     if res["run"]:
         checkplot.plot(filepath=res["filepath"])
     return {"degplotuuid": res["uuid"]}
Exemplo n.º 3
0
 def post(self):
     args = request.get_json()
     checkplot = CheckPlot(args=args, purpose="lollipop", rplot="snvplot_lollipop.R")
     res = checkplot.check_run()
     if res["run"]:
         checkplot.plot(filepath=res["filepath"])
     return {"lollipopuuid": res["uuid"]}
Exemplo n.º 4
0
    def post(self):
        args = request.get_json()
        checkplot = CheckPlot(args=args, purpose="methycorsinglegene", rplot="methy_cor_singlegene.R")
        res = checkplot.check_run()

        if res["run"]:
            checkplot.plot(filepath=res["filepath"])
        return {"methyCorSingleGenePdfURL": res["uuid"]}
Exemplo n.º 5
0
 def post(self):
     args = request.get_json()
     checkplot = CheckPlot(args=args, purpose="rppaPoint", rplot="exp_rppaplot_profile.R")
     res = checkplot.check_run()
     if res["run"]:
         checkplot.plot(filepath=res["filepath"])
     # return send_file(str(res["filepath"]), mimetype="image/png")
     return {"rppaPointuuid": res["uuid"]}
Exemplo n.º 6
0
Arquivo: deg.py Projeto: yanding/GSCA
 def post(self):
     args = request.get_json()
     checkplot = CheckPlot(args=args,
                           purpose="degplotsinglecancertype",
                           rplot="degplotsinglecancertype.R")
     res = checkplot.check_run()
     if res["run"]:
         checkplot.plot(filepath=res["filepath"])
     # return send_file(str(res["filepath"]), mimetype="image/png")
     return {"degplotsinglecancertypeuuid": res["uuid"]}
Exemplo n.º 7
0
    def post(self):
        args = request.get_json()
        checkplot = CheckPlot(args=args,
                              purpose="methysurvivalsinglegene",
                              rplot="methy_survival_singlegene.R")
        res = checkplot.check_run()

        if res["run"]:
            checkplot.plot(filepath=res["filepath"])
        return {"methysurvivalsinglegeneuuid": res["uuid"]}
Exemplo n.º 8
0
    def post(self):
        args = request.get_json()
        checkplot = CheckPlot(args=args,
                              purpose="singleCancerMethyDiff",
                              rplot="methy_diff_single_cancer.R")
        res = checkplot.check_run()

        if res["run"]:
            checkplot.plot(filepath=res["filepath"])
        return {"singleCancerMethyDiffuuid": res["uuid"]}