{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.10.12","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"# This Python 3 environment comes with many helpful analytics libraries installed\n# It is defined by the kaggle/python Docker image: https://github.com/kaggle/docker-python\n# For example, here's several helpful packages to load\n\nimport numpy as np # linear algebra\nimport pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)\n\n# Input data files are available in the read-only \"../input/\" directory\n# For example, running this (by clicking run or pressing Shift+Enter) will list all files under the input directory\n\nimport os\nfor dirname, _, filenames in os.walk('/kaggle/input'):\n    for filename in filenames:\n        print(os.path.join(dirname, filename))\n\n# You can write up to 20GB to the current directory (/kaggle/working/) that gets preserved as output when you create a version using \"Save & Run All\" \n# You can also write temporary files to /kaggle/temp/, but they won't be saved outside of the current session","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2023-09-13T16:14:45.106783Z","iopub.execute_input":"2023-09-13T16:14:45.107284Z","iopub.status.idle":"2023-09-13T16:14:45.114306Z","shell.execute_reply.started":"2023-09-13T16:14:45.107235Z","shell.execute_reply":"2023-09-13T16:14:45.113066Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!pip install cptac","metadata":{"execution":{"iopub.status.busy":"2023-09-13T15:18:02.372944Z","iopub.execute_input":"2023-09-13T15:18:02.373430Z","iopub.status.idle":"2023-09-13T15:18:20.917141Z","shell.execute_reply.started":"2023-09-13T15:18:02.373398Z","shell.execute_reply":"2023-09-13T15:18:20.915765Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"import cptac \ncptac.list_datasets(condense_on=False,)","metadata":{"execution":{"iopub.status.busy":"2023-09-13T16:07:50.417366Z","iopub.execute_input":"2023-09-13T16:07:50.417809Z","iopub.status.idle":"2023-09-13T16:07:50.434438Z","shell.execute_reply.started":"2023-09-13T16:07:50.417775Z","shell.execute_reply":"2023-09-13T16:07:50.433105Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"set( cptac.list_datasets()['Cancer'] )","metadata":{"execution":{"iopub.status.busy":"2023-09-13T15:58:20.096845Z","iopub.execute_input":"2023-09-13T15:58:20.097248Z","iopub.status.idle":"2023-09-13T15:58:20.108075Z","shell.execute_reply.started":"2023-09-13T15:58:20.097216Z","shell.execute_reply":"2023-09-13T15:58:20.106655Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"set( cptac.list_datasets()['Datatype'] )","metadata":{"execution":{"iopub.status.busy":"2023-09-13T15:51:13.853437Z","iopub.execute_input":"2023-09-13T15:51:13.854950Z","iopub.status.idle":"2023-09-13T15:51:13.865757Z","shell.execute_reply.started":"2023-09-13T15:51:13.854909Z","shell.execute_reply":"2023-09-13T15:51:13.864341Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"cptac.download(dataset=\"endometrial\")","metadata":{"execution":{"iopub.status.busy":"2023-09-13T16:13:49.779725Z","iopub.execute_input":"2023-09-13T16:13:49.780195Z","iopub.status.idle":"2023-09-13T16:13:49.815759Z","shell.execute_reply.started":"2023-09-13T16:13:49.780160Z","shell.execute_reply":"2023-09-13T16:13:49.814157Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"cptac.download(dataset=\"Ccrcc\")\n","metadata":{"execution":{"iopub.status.busy":"2023-09-13T16:14:23.501697Z","iopub.execute_input":"2023-09-13T16:14:23.502153Z","iopub.status.idle":"2023-09-13T16:14:23.537266Z","shell.execute_reply.started":"2023-09-13T16:14:23.502120Z","shell.execute_reply":"2023-09-13T16:14:23.535833Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"cptac.download('brca', 'bcm','transcriptomics')# dataset=\"endometrial\")","metadata":{"execution":{"iopub.status.busy":"2023-09-13T16:04:43.243008Z","iopub.execute_input":"2023-09-13T16:04:43.243411Z","iopub.status.idle":"2023-09-13T16:04:43.277022Z","shell.execute_reply.started":"2023-09-13T16:04:43.243380Z","shell.execute_reply":"2023-09-13T16:04:43.275184Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}],"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}}