Vamsi Thiriveedhi commited on
Commit
6434f32
·
1 Parent(s): ead76f9

enh: provide instructions for navigating the dashboard

Browse files
Files changed (2) hide show
  1. filter_data_app.py +5 -2
  2. instructions.txt +41 -0
filter_data_app.py CHANGED
@@ -102,7 +102,10 @@ def main():
102
  #df = load_data()
103
 
104
  if page == "Plots":
105
- st.write("Filter the data based on radiomics feature, qualitative checks, bodyPart, and laterality.")
 
 
 
106
  with st.sidebar:
107
  st.title("Filters")
108
 
@@ -371,7 +374,7 @@ def main():
371
  # Define the pages
372
  if page == "Summary":
373
  st.markdown('''
374
- This dashboard presents a summary of the following four rule-based checks applied to over 9.5 million segmentations
375
  from TotalSegmentator(v1) on 125k+ NLST CT scans, displaying the percentage of segmentations passing each check
376
  to highlight potential quality issues
377
  - segmentation completeness (ensuring empty slices above and below)
 
102
  #df = load_data()
103
 
104
  if page == "Plots":
105
+ with st.expander("Instructions to navigating the dashboard"):
106
+ with open("instructions.txt", "r") as file:
107
+ instructions = file.read()
108
+ st.write(instructions)
109
  with st.sidebar:
110
  st.title("Filters")
111
 
 
374
  # Define the pages
375
  if page == "Summary":
376
  st.markdown('''
377
+ This page of the dashboard presents a summary of the following four rule-based checks applied to over 9.5 million segmentations
378
  from TotalSegmentator(v1) on 125k+ NLST CT scans, displaying the percentage of segmentations passing each check
379
  to highlight potential quality issues
380
  - segmentation completeness (ensuring empty slices above and below)
instructions.txt ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ### Summary for Dashboard Navigation
3
+
4
+ This tool helps you explore and analyze radiomics data, apply various filters, and visualize the results.
5
+
6
+ #### Navigation and Features:
7
+
8
+ **Page Selection**:
9
+ - **Summary**: Shows the summary in pass percentage of each heurisitic as if applied individually.
10
+ - **Plots**: Shows detailed visualizations and data filtering options.
11
+
12
+ **Filters**:
13
+ - **Radiomics Feature**: Select from various radiomics features (e.g., Volume from Voxel Summation, Mean, Variance).
14
+ - **Body Part**: Choose the specific body part for analysis.
15
+ - **Segmentation Completeness, Laterality Check, Volume Check, Connected Volumes**: Filter based on specific qualitative checks.
16
+ - **Voxel Number**: Filter data based on the range of voxel numbers.
17
+ - **Radiomics Feature Values**: Set the range for the selected radiomics feature values.
18
+
19
+ **Filtered Data Display**:
20
+ - Views a paginated table of filtered data. Please use 'sortby' filter in the sidebar to sort the underlying data.
21
+ - Includes direct links to the OHIF viewer for each StudyInstanceUID.
22
+ - Use StudyInstanceUID in combination with Source CT scan's seriesNumber to view the scan of interest.
23
+
24
+ **Visualizations**:
25
+ - **Violin Plots**: Shows the distribution of the standard deviation of the selected radiomics feature before and after filtering.
26
+ - **UpSet Plots**: Visualize intersections of passed and failed qualitative checks.
27
+
28
+ **Data Download**:
29
+ - Download the filtered dataset as a CSV file for further analysis.
30
+
31
+ #### Using the Dashboard:
32
+
33
+ 1. **Select the desired page** from the sidebar.
34
+ 2. **Apply filters** as needed using the sidebar options to narrow down your dataset.
35
+
36
+ - **Note**: Please change to a different bodyPart to reset the filters or when you encounter an error message, while we continue improving this dashboard.
37
+
38
+ 3. **View and analyze the data** in the main panel through tables and plots.
39
+ 4. **Download the filtered data** for offline analysis.
40
+
41
+