{"_id":"59848c8a339eac000f54a50e","project":"55faf11ba62ba1170021a9a7","version":{"_id":"55faf11ba62ba1170021a9aa","project":"55faf11ba62ba1170021a9a7","__v":45,"createdAt":"2015-09-17T16:58:03.490Z","releaseDate":"2015-09-17T16:58:03.490Z","categories":["55faf11ca62ba1170021a9ab","55faf8f4d0e22017005b8272","55faf91aa62ba1170021a9b5","55faf929a8a7770d00c2c0bd","55faf932a8a7770d00c2c0bf","55faf94b17b9d00d00969f47","55faf958d0e22017005b8274","55faf95fa8a7770d00c2c0c0","55faf96917b9d00d00969f48","55faf970a8a7770d00c2c0c1","55faf98c825d5f19001fa3a6","55faf99aa62ba1170021a9b8","55faf99fa62ba1170021a9b9","55faf9aa17b9d00d00969f49","55faf9b6a8a7770d00c2c0c3","55faf9bda62ba1170021a9ba","5604570090ee490d00440551","5637e8b2fbe1c50d008cb078","5649bb624fa1460d00780add","5671974d1b6b730d008b4823","5671979d60c8e70d006c9760","568e8eef70ca1f0d0035808e","56d0a2081ecc471500f1795e","56d4a0adde40c70b00823ea3","56d96b03dd90610b00270849","56fbb83d8f21c817002af880","573c811bee2b3b2200422be1","576bc92afb62dd20001cda85","5771811e27a5c20e00030dcd","5785191af3a10c0e009b75b0","57bdf84d5d48411900cd8dc0","57ff5c5dc135231700aed806","5804caf792398f0f00e77521","58458b4fba4f1c0f009692bb","586d3c287c6b5b2300c05055","58ef66d88646742f009a0216","58f5d52d7891630f00fe4e77","59a555bccdbd85001bfb1442","5a2a81f688574d001e9934f5","5b080c8d7833b20003ddbb6f","5c222bed4bc358002f21459a","5c22412594a2a5005cc9e919","5c41ae1c33592700190a291e","5c8a525e2ba7b2003f9b153c","5cbf14d58c79c700ef2b502e"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"58458b4fba4f1c0f009692bb","project":"55faf11ba62ba1170021a9a7","version":"55faf11ba62ba1170021a9aa","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-12-05T15:44:15.650Z","from_sync":false,"order":6,"slug":"datasets-hub","title":"DATASETS HUB"},"user":"5613e4f8fdd08f2b00437620","githubsync":"","__v":1,"parentDoc":null,"metadata":{"title":"","description":"","image":[]},"updates":["5b132c36bc90f5000319ee21"],"next":{"pages":[],"description":""},"createdAt":"2017-08-04T15:02:34.996Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":37,"body":"##Overview\n\nThe Data Browser allows you to query multiple datasets. Once you select the datasets, the entities in the search page will be prioritized based on the number of datasets they appear in. Once you start the search, the Data Browser will check in the selected datasets and give you the results that are found in most of the datasets, while those that no longer apply will be denoted as inactive in the query.\n\nFurthermore, once you select the result and move on to the canvas, as you continue selecting entities, properties, and values, the Data Browser will apply the filters to all datasets that are still relevant to the query and inform you of the datasets that are no longer used (under Active Datasets section). \n\nFinally, when available (the toggle will be enabled), you can apply the intersection for all datasets to narrow down the results to ID properties that are present in all selected datasets. For example, you can apply the intersection to a Case entity and search through information that is related to the same patients across multiple datasets. The only current limitation is that you cannot select TCGA GRCh38 and TCGA Legacy as those are different versions of the same dataset.\n\n##Procedure\n\nTo start querying multiple datasets:\n\n1. Choose **Data Browser **from the **Data** menu.\n2. Select datasets **TCGA GRCh38**, **TARGET GRCh38**, and **CPTAC**.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/ecd8b55-multiple-datasets-select-datasets.jpg\",\n        \"multiple-datasets-select-datasets.jpg\",\n        622,\n        686,\n        \"#f1f2f2\"\n      ]\n    }\n  ]\n}\n[/block]\n3. Click **Explore selected**.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/fe41b9f-databrowser-results.jpg\",\n        \"databrowser-results.jpg\",\n        1027,\n        550,\n        \"#f1eeef\"\n      ]\n    }\n  ]\n}\n[/block]\n4. Enter **BAM** as a search term and you will see the available results below. The information on how many datasets contain the term is displayed on the right. Hover it to see the dataset names. The list of active datasets on the left will be refreshed as you enter terms to indicate the datasets that are still used in the query i.e. which still contain relevant information based on the entered search terms.\n5. Click on the result to select it.\n6. Now enter **FEMALE** as a term and select the result.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/8e95686-choose-a-result.jpg\",\n        \"choose-a-result.jpg\",\n        918,\n        347,\n        \"#f2f2f1\"\n      ]\n    }\n  ]\n}\n[/block]\n7. Click **Search**.\n8. Click on the result in the list to continue working with the Data Browser canvas. \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/c23e5bc-exp-strat-rna-seq.jpg\",\n        \"exp-strat-rna-seq.jpg\",\n        821,\n        438,\n        \"#f0e8ec\"\n      ]\n    }\n  ]\n}\n[/block]\n9. Add **RNA-seq** as experimental strategy. As seen in the upper left corner, **TCGA GRCh38** and **TARGET GRCh38** still contain relevant information and are denoted as active in the query, while CPTAC is still excluded.\n10. Now, if you add **Drug therapy,** you will see that the only remaining active dataset in the query is **TCGA GRCh38**.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/ed1ca1f-add-drug-therapy.jpg\",\n        \"add-drug-therapy.jpg\",\n        799,\n        489,\n        \"#ede7eb\"\n      ]\n    }\n  ]\n}\n[/block]\n11. Hover the bar in the count card to see the distribution of entities across datasets.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/fab95b1-hover-count-card-bar.jpg\",\n        \"hover-count-card-bar.jpg\",\n        509,\n        116,\n        \"#bba0a9\"\n      ]\n    }\n  ]\n}\n[/block]\n## Querying datasets with shared data\n\nThe Data Browser allows you to query multiple datasets with shared data. The example below will demonstrate the intersection feature which allows selecting files from multiple datasets that apply to the same group of patients (cases).\n\n1. Choose **Data Browser** from the **Data** menu.\n2. Select datasets **TCGA GRCh38**, **CPTAC**, and **TCIA**. These datasets share entity instances, i.e. there is a certain number of patients that participated in all of the studies.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/679bd04-shared-data-1.jpg\",\n        \"shared-data-1.jpg\",\n        613,\n        481,\n        \"#eef0f0\"\n      ]\n    }\n  ]\n}\n[/block]\n3. Click **Explore selected**.\n4. Click the **Case** entity and you will be taken to the Data Browser canvas.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/0ab55a7-enable-intersection.jpg\",\n        \"enable-intersection.jpg\",\n        944,\n        641,\n        \"#e6e6e9\"\n      ]\n    }\n  ]\n}\n[/block]\n5. Click the **Intersection** toggle to enable the intersection for the selected datasets. The number of cases will be updated (e.g. 42 instead of 11318). To see detailed dataset information for each of the instances, click on an instance under the **Case** column.\n6. You can now add files (instances) which belong to multiple datasets, e.g. choose files with the following properties:\na. data format: **BAM** (from TCGA GRCh38).\nb. file type: **proteome** (from CPTAC).\nc. data format: **DCM** (from TCIA).\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/dd69550-copy-files-toproject.jpg\",\n        \"copy-files-to=project.jpg\",\n        1143,\n        594,\n        \"#e0e1ec\"\n      ]\n    }\n  ]\n}\n[/block]\n7. After adding files with these properties, click Copy files to project to continue with your analysis.\n\nPlease bear in mind that multiple datasets can have shared data for more than one entity. In that case the intersection can be applied for one entity at a time.","excerpt":"<a href=\"query-datasets\" style=\"color:#132c56\">QUERY DATASETS</a> ><a href=\"about-the-data-browser\" style=\"color:#132c56\">About the Data Browser</a> > Data Browser query: multiple dataset query","slug":"data-browser-query-multiple-dataset-query","type":"basic","title":"↳ Data Browser query: multiple dataset query"}

↳ Data Browser query: multiple dataset query

<a href="query-datasets" style="color:#132c56">QUERY DATASETS</a> ><a href="about-the-data-browser" style="color:#132c56">About the Data Browser</a> > Data Browser query: multiple dataset query

##Overview The Data Browser allows you to query multiple datasets. Once you select the datasets, the entities in the search page will be prioritized based on the number of datasets they appear in. Once you start the search, the Data Browser will check in the selected datasets and give you the results that are found in most of the datasets, while those that no longer apply will be denoted as inactive in the query. Furthermore, once you select the result and move on to the canvas, as you continue selecting entities, properties, and values, the Data Browser will apply the filters to all datasets that are still relevant to the query and inform you of the datasets that are no longer used (under Active Datasets section). Finally, when available (the toggle will be enabled), you can apply the intersection for all datasets to narrow down the results to ID properties that are present in all selected datasets. For example, you can apply the intersection to a Case entity and search through information that is related to the same patients across multiple datasets. The only current limitation is that you cannot select TCGA GRCh38 and TCGA Legacy as those are different versions of the same dataset. ##Procedure To start querying multiple datasets: 1. Choose **Data Browser **from the **Data** menu. 2. Select datasets **TCGA GRCh38**, **TARGET GRCh38**, and **CPTAC**. [block:image] { "images": [ { "image": [ "https://files.readme.io/ecd8b55-multiple-datasets-select-datasets.jpg", "multiple-datasets-select-datasets.jpg", 622, 686, "#f1f2f2" ] } ] } [/block] 3. Click **Explore selected**. [block:image] { "images": [ { "image": [ "https://files.readme.io/fe41b9f-databrowser-results.jpg", "databrowser-results.jpg", 1027, 550, "#f1eeef" ] } ] } [/block] 4. Enter **BAM** as a search term and you will see the available results below. The information on how many datasets contain the term is displayed on the right. Hover it to see the dataset names. The list of active datasets on the left will be refreshed as you enter terms to indicate the datasets that are still used in the query i.e. which still contain relevant information based on the entered search terms. 5. Click on the result to select it. 6. Now enter **FEMALE** as a term and select the result. [block:image] { "images": [ { "image": [ "https://files.readme.io/8e95686-choose-a-result.jpg", "choose-a-result.jpg", 918, 347, "#f2f2f1" ] } ] } [/block] 7. Click **Search**. 8. Click on the result in the list to continue working with the Data Browser canvas. [block:image] { "images": [ { "image": [ "https://files.readme.io/c23e5bc-exp-strat-rna-seq.jpg", "exp-strat-rna-seq.jpg", 821, 438, "#f0e8ec" ] } ] } [/block] 9. Add **RNA-seq** as experimental strategy. As seen in the upper left corner, **TCGA GRCh38** and **TARGET GRCh38** still contain relevant information and are denoted as active in the query, while CPTAC is still excluded. 10. Now, if you add **Drug therapy,** you will see that the only remaining active dataset in the query is **TCGA GRCh38**. [block:image] { "images": [ { "image": [ "https://files.readme.io/ed1ca1f-add-drug-therapy.jpg", "add-drug-therapy.jpg", 799, 489, "#ede7eb" ] } ] } [/block] 11. Hover the bar in the count card to see the distribution of entities across datasets. [block:image] { "images": [ { "image": [ "https://files.readme.io/fab95b1-hover-count-card-bar.jpg", "hover-count-card-bar.jpg", 509, 116, "#bba0a9" ] } ] } [/block] ## Querying datasets with shared data The Data Browser allows you to query multiple datasets with shared data. The example below will demonstrate the intersection feature which allows selecting files from multiple datasets that apply to the same group of patients (cases). 1. Choose **Data Browser** from the **Data** menu. 2. Select datasets **TCGA GRCh38**, **CPTAC**, and **TCIA**. These datasets share entity instances, i.e. there is a certain number of patients that participated in all of the studies. [block:image] { "images": [ { "image": [ "https://files.readme.io/679bd04-shared-data-1.jpg", "shared-data-1.jpg", 613, 481, "#eef0f0" ] } ] } [/block] 3. Click **Explore selected**. 4. Click the **Case** entity and you will be taken to the Data Browser canvas. [block:image] { "images": [ { "image": [ "https://files.readme.io/0ab55a7-enable-intersection.jpg", "enable-intersection.jpg", 944, 641, "#e6e6e9" ] } ] } [/block] 5. Click the **Intersection** toggle to enable the intersection for the selected datasets. The number of cases will be updated (e.g. 42 instead of 11318). To see detailed dataset information for each of the instances, click on an instance under the **Case** column. 6. You can now add files (instances) which belong to multiple datasets, e.g. choose files with the following properties: a. data format: **BAM** (from TCGA GRCh38). b. file type: **proteome** (from CPTAC). c. data format: **DCM** (from TCIA). [block:image] { "images": [ { "image": [ "https://files.readme.io/dd69550-copy-files-toproject.jpg", "copy-files-to=project.jpg", 1143, 594, "#e0e1ec" ] } ] } [/block] 7. After adding files with these properties, click Copy files to project to continue with your analysis. Please bear in mind that multiple datasets can have shared data for more than one entity. In that case the intersection can be applied for one entity at a time.