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"]}
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"]}
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"]}
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"]}
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"]}
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"]}
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"]}
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"]}