You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"<a href=\"https://colab.research.google.com/github/ImagingDataCommons/IDC-Tutorials/blob/master/notebooks/collections_demos/RMS-Mutation-Prediction-Expert-Annotations_exploration.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
@@ -32,7 +32,7 @@
32
32
"\n",
33
33
"`RMS-Mutation-Prediction-Expert-Annotations` is collection available in the [NCI Imaging Data Commons (IDC)](https://portal.imaging.datacommons.cancer.gov) that contains expert annotations of tissue types for 95 patients of the digital pathology slide images in the `RMS-Mutation-Prediction` collection released earlier. You can learn more about this collection in the following dataset record:\n",
34
34
"\n",
35
-
"> Bridge, C., Brown, G. T., Jung, H., Lisle, C., Clunie, D., Milewski, D., Liu, Y., Collins, J., Linardic, C. M., Hawkins, D. S., Venkatramani, R., Fedorov, A., & Khan, J. (2024). Expert annotations of the tissue types for the RMS-Mutation-Prediction microscopy images [Data set]. Zenodo. https://doi.org/10.5281/zenodo.10462858\n",
35
+
"> Bridge, C., Brown, G. T., Jung, H., Lisle, C., Clunie, D., Milewski, D., Liu, Y., Collins, J., Linardic, C. M., Hawkins, D. S., Venkatramani, R., Fedorov, A., & Khan, J. (2024). Expert annotations of the tissue types for the `RMS-Mutation-Prediction` microscopy images [Data set]. Zenodo. https://doi.org/10.5281/zenodo.10462858\n",
36
36
"\n",
37
37
"You can access this annotations collection in the IDC Portal using [this link](https://portal.imaging.datacommons.cancer.gov/explore/filters/?analysis_results_id=RMS-Mutation-Prediction-Expert-Annotations), or you can explore its content using this [custom Google Looker dashboard](https://tinyurl.com/idc-rms-annotations).\n",
"<pandas.io.formats.style.Styler at 0x7f6eaa2c1f30>"
299
-
],
300
296
"text/html": [
301
297
"<style type=\"text/css\">\n",
302
298
"</style>\n",
@@ -985,10 +981,14 @@
985
981
" </tr>\n",
986
982
" </tbody>\n",
987
983
"</table>\n"
984
+
],
985
+
"text/plain": [
986
+
"<pandas.io.formats.style.Styler at 0x7f6eaa2c1f30>"
988
987
]
989
988
},
989
+
"execution_count": 15,
990
990
"metadata": {},
991
-
"execution_count": 15
991
+
"output_type": "execute_result"
992
992
}
993
993
],
994
994
"source": [
@@ -1091,8 +1091,8 @@
1091
1091
},
1092
1092
"outputs": [
1093
1093
{
1094
-
"output_type": "stream",
1095
1094
"name": "stdout",
1095
+
"output_type": "stream",
1096
1096
"text": [
1097
1097
"This SR document contains 14 \"Planar ROI Measurements and Qualitative Evaluations\".\n",
1098
1098
"An example measurement group of type \"Planar ROI Measurements and Qualitative Evaluations\": \n",
@@ -1176,30 +1176,27 @@
1176
1176
},
1177
1177
{
1178
1178
"cell_type": "markdown",
1179
-
"source": [
1180
-
"An alternative way to look at the content of a DICOM SR is by using DCMTK [`dsrdump` command line utility](https://support.dcmtk.org/docs/dsrdump.html), that will have one line for each node of the SR content tree - a lot more condensed and perhaps easier to understand representation than what you see above!"
1181
-
],
1182
1179
"metadata": {
1183
1180
"id": "nwEwwoGA9_9x"
1184
-
}
1181
+
},
1182
+
"source": [
1183
+
"An alternative way to look at the content of a DICOM SR is by using DCMTK [`dsrdump` command line utility](https://support.dcmtk.org/docs/dsrdump.html), that will have one line for each node of the SR content tree - a lot more condensed and perhaps easier to understand representation than what you see above!"
"# Advanced topic: Querying annotations using BigQuery\n",
3569
3572
"\n",
3570
-
"In the exercises above we fetched all of the DICOM SR files before examining them locally using `highdicom`.\n",
3571
-
"\n",
3572
-
"All of the metadata available in DICOM files you will find in IDC is extracted and searchable in Google BigQuery tables. With BigQuery search, you do not need to download anything if all you need to do is examine the metadata.\n",
3573
+
"In the exercises above we fetched all of the DICOM SR files before examining them locally using highdicom. \n",
3574
+
"Yet, all of the metadata available in IDC's DICOM files are also extracted to and searchable in Google BigQuery tables. With BigQuery search, you do not need to download anything if all you need to do is examine the metadata.\n",
3573
3575
"\n",
3574
3576
"If you would like to use BigQuery, you will need to complete the advanced prerequisites in [part 1](https://github.com/ImagingDataCommons/IDC-Tutorials/blob/master/notebooks/getting_started/part1_prerequisites.ipynb) of the \"Getting started\" tutorial series before running the following cells. You can also check out [part 3](https://github.com/ImagingDataCommons/IDC-Tutorials/blob/master/notebooks/getting_started/part3_exploring_cohorts.ipynb) of that series to get started with the IDC BigQuery content.\n",
3575
-
"\n",
3576
3577
"In the following cell we query DICOM metadata to get information about the ROI type for the annotations in the `RMS-Mutation-Prediction-Expert-Annotations` collection."
3577
-
],
3578
-
"metadata": {
3579
-
"id": "OyzS7N7SWdYb"
3580
-
}
3578
+
]
3581
3579
},
3582
3580
{
3583
3581
"cell_type": "code",
3582
+
"execution_count": null,
3583
+
"metadata": {
3584
+
"id": "ZjehiSgxZEh0"
3585
+
},
3586
+
"outputs": [],
3584
3587
"source": [
3585
-
"#@title Enter your Project ID\n",
3586
-
"# initialize this variable with your Google Cloud Project ID!\n",
0 commit comments