def getOncoprintHTML(self, gene_list, study=None, study_name=None):

        url = "/".join(self.url.split("/")[0:-1])
        gene_list = ",".join(gene_list)
        command = "%s/link.do?cancer_study_id=%s&gene_list=%s&report=oncoprint_html" % (
            url, study, gene_list)
        return urllib2.urlopen(command).read()
returns the HTML for the oncoprint report for the specified gene
dataset/ETHPy150Open CGATOxford/cgat/CGAT/CBioPortal.py/CBioPortal.getOncoprintHTML