コード例 #1
0
ファイル: immunecnv.py プロジェクト: yanding/GSCA
    def get(self, uuidname, cancertype, surType):
        checkplot = CheckGSVASurvivalSingleCancerType(
            gsxa_uuid=uuidname,
            cancertype=cancertype,
            surType=surType,
            name_uuid="cnvgenesetsurvivalsinglecancer_uuid",
            purpose="cnvgenesetimmunesinglecancer",
            rplot="cnv_geneset_immune_singlecancer.R",
            precol="preanalysised",
            gsxacol="preanalysised_cnvgeneset",
        )
        res = checkplot.check_run()
        if res["run"]:
            checkplot.plot()

        return {"cnvgenesetimmunesinglecanceruuid": res["uuid"]}
コード例 #2
0
ファイル: gsva.py プロジェクト: chunjie-sam-liu/GSCA
    def get(self, uuidname, cancertype, surType):
        checkplot = CheckGSVASurvivalSingleCancerType(
            gsxa_uuid=uuidname,
            cancertype=cancertype,
            surType=surType,
            name_uuid="gsvasurvivalsinglecancer_uuid",
            purpose="gsvasurvivalsinglecancer",
            rplot="gsva_survival_single_cancer.R",
            precol="preanalysised",
            gsxacol="preanalysised_gsva",
        )
        res = checkplot.check_run()
        if res["run"]:
            checkplot.plot()

        return {"gsvasurvivalsinglecanceruuid": res["uuid"]}