예제 #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"]}
예제 #2
0
파일: deg.py 프로젝트: 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"]}
예제 #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"]}
예제 #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"]}
예제 #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"]}
예제 #6
0
파일: deg.py 프로젝트: 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"]}
예제 #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"]}
예제 #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"]}