Skip to content

Commit

Permalink
Merge pull request #4 from govekk/main
Browse files Browse the repository at this point in the history
adding kv pairs, fixed numbering
  • Loading branch information
govekk authored Aug 27, 2024
2 parents af3613a + 3acc252 commit 5be0723
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 31 deletions.
70 changes: 39 additions & 31 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
format:
html:
fontsize: 16pt
title: OMERO Workshop
# revealjs:
# theme: default
# slide-number: true
Expand All @@ -17,6 +18,9 @@ from: markdown+emoji
---

# Overview of OMERO

![](visuals/omero_overview.png){fig-alt="Diagram showing OMERO.server connected to hardware and image data tasks" fig-align="center"}

OMERO is a software platform for visualizing, managing, and annotating scientific image data. OMERO lets you import and archive your images, annotate and tag them, record your experimental protocols, and export images in a number of formats. It also allows you to collaborate with colleagues by creating user groups with different permission levels. Finally, it provides a convenient interface for programmatic access to your image data.

OMERO.web is a web-based interface that provides most of the core OMERO functions described above. You can explore the public JAX instance of OMERO.web at images.jax.org, where we have made some data publicly available. Note that this website is just a viewer for our public data and will not allow you to log in.
Expand Down Expand Up @@ -70,19 +74,23 @@ search screen:

![](visuals/search_scope.png){fig-alt="group and owner dropdowns for search" fig-align="center" width=300}

## Key-Value pair annotations
11. In the right-hand panel, expand the Key-Value Pairs pane and start typing in the "Add Key" and "Add Value" text boxes to add key-value annotation pairs. For example, make a key "species" and value "mouse". Find another image and label it with key "species" and value "human".
12. In the search bar on the top right of the screen, enter "species". This should pull up both images you have labeled with key-value pairs. Now try searching for "species:mouse". This should find only the image you labeled with the value of "mouse".

## Filtering images
10. Click Browse for one of the images in the table to return to the Dataset.
13. Click Browse for one of the images in the table to return to the Dataset.
At this point, make sure you are looking at your own images; check the top left corner of the screen. If you are not, click that bar and navigate back to your user:

![](visuals/group_selection.png){fig-alt="group and user selection dropdown" fig-align="center" width=300}

11. Above the thumbnails, click Add Filter > Name and enter “scram” to filter for all control images in this RNAi experiment.
14. Above the thumbnails, click Add Filter > Name and enter “scram” to filter for all control images in this RNAi experiment.

## Preview viewer
:::: {.columns style='display: flex'}
::: {.column width="70%" style='display: flex; justify-content: left; align-items: center;'}
12. Select an image, click the Preview tab of the right panel and Turn off channels 1 and 4 by clicking on the blue and red buttons.
13. Adjust the intensity levels of the green channel which is INCENP, and channel 3 which is Aurora-B. You can use the Histogram feature to help you with the adjustments.
15. Select an image, click the Preview tab of the right panel and Turn off channels 1 and 4 by clicking on the blue and red buttons.
16. Adjust the intensity levels of the green channel which is INCENP, and channel 3 which is Aurora-B. You can use the Histogram feature to help you with the adjustments.

:::
::: {.column width="30%" style='display: flex; justify-content: center;'}
Expand All @@ -93,67 +101,67 @@ At this point, make sure you are looking at your own images; check the top left
::::

## Bulk saving rendering settings
14. We want to compare levels of these targets across all images in the Dataset. Click Save to All. ![](visuals/save_to_all.png){width=100}
15. Thumbnails will be updated with new rendering settings, allowing comparison across the Dataset. Thumbnails can be zoomed using the slider below.
16. In the left panel hierarchy, right-click on the siRNAi-HeLa Dataset and choose Rendering Settings... > Set Imported and Save to return to original settings.
17. We want to compare levels of these targets across all images in the Dataset. Click Save to All. ![](visuals/save_to_all.png){width=100}
18. Thumbnails will be updated with new rendering settings, allowing comparison across the Dataset. Thumbnails can be zoomed using the slider below.
19. In the left panel hierarchy, right-click on the siRNAi-HeLa Dataset and choose Rendering Settings... > Set Imported and Save to return to original settings.

![](visuals/revert_rendering.png){fig-alt="Steps to revert rendering to original imported settings" fig-align="center"}

## Ratings
16. Filter images by Name “VRAQ D3D” and select the first image “VRAQ_01.r3d_D3D.dv”.
17. In the General tab of the right-hand panel, expand the Ratings panel and click the stars to give this image a rating of 5.
18. Filter images by Name “IN 02 D3D”, select the first image “IN_02.r3d_D3D.dv” and add a rating of 5.
20. Filter images by Name “VRAQ D3D” and select the first image “VRAQ_01.r3d_D3D.dv”.
21. In the General tab of the right-hand panel, expand the Ratings panel and click the stars to give this image a rating of 5.
22. Filter images by Name “IN 02 D3D”, select the first image “IN_02.r3d_D3D.dv” and add a rating of 5.

**Time for a break!**

## OMERO.iviewer
18. Now, clear the filtering by Name and instead, filter images by Rating of 5 to show only the 2 images we have just rated.
19. Select both images, right click on the selected images in the tree and choose Open with... > OMERO.iviewer. You can also find the Open with ![](visuals/open_with.png){width=50} option at the top of the right panel.
20. Click the Crosshairs icon ![](visuals/intensity_crosshairs.png){width=50} at the top-right of the viewer to enable the pixel intensity display for the mouse pointer. Then mouse over the Image to see the pixel intensities for the channels turned on.
23. Now, clear the filtering by Name and instead, filter images by Rating of 5 to show only the 2 images we have just rated.
24. Select both images, right click on the selected images in the tree and choose Open with... > OMERO.iviewer. You can also find the Open with ![](visuals/open_with.png){width=50} option at the top of the right panel.
25. Click the Crosshairs icon ![](visuals/intensity_crosshairs.png){width=50} at the top-right of the viewer to enable the pixel intensity display for the mouse pointer. Then mouse over the Image to see the pixel intensities for the channels turned on.

![](visuals/intensity_mouseover.png){fig-alt="iviewer showing mouseover with pixel intensities" fig-align="center"}

21. Our goal with this image is to measure the distance between centromeres, stained with ACA in the 4th Channel. Turn on ONLY the 4th channel and open the ROIs tab to the right.
26. Our goal with this image is to measure the distance between centromeres, stained with ACA in the 4th Channel. Turn on ONLY the 4th channel and open the ROIs tab to the right.

![](visuals/iviewer_steps.png){fig-alt="iviewer after following above instructions, with steps labelled" fig-align="center"}

## Drawing ROIs in OMERO.iviewer
22. Select the Line tool and draw a line between the centers of centromere pairs. In the ROIs table, click the 3 dots in the column header and choose to Show Area/Length. Click Save to Save ROIs.
27. Select the Line tool and draw a line between the centers of centromere pairs. In the ROIs table, click the 3 dots in the column header and choose to Show Area/Length. Click Save to Save ROIs.

![](visuals/roi_steps.png){fig-alt="iviewer on roi tab after following above instructions, with steps labelled" fig-align="center"}

23. You can also use Z-Projection (![](visuals/zproj.png){width=50} at the bottom left) which might help find outlying centromeres. Note that Z-Projection may not work for images with very large stacks!
24. Once done with drawing ROIs, click Save again.
25. Click on the Select tool: ![](visuals/select.png){fig-alt="image of select tool like mouse arrow" width=50}
26. To export statistics, we first need to select all the ROIs using ctrl+drag (cmd+drag on a Mac) to select a region in the viewer (if ROIs are spread across multiple Z-sections, we can show them all at once using Z-projection). The selected ROIs will be highlighted blue on the image.
28. You can also use Z-Projection (![](visuals/zproj.png){width=50} at the bottom left) which might help find outlying centromeres. Note that Z-Projection may not work for images with very large stacks!
29. Once done with drawing ROIs, click Save again.
30. Click on the Select tool: ![](visuals/select.png){fig-alt="image of select tool like mouse arrow" width=50}
31. To export statistics, we first need to select all the ROIs using ctrl+drag (cmd+drag on a Mac) to select a region in the viewer (if ROIs are spread across multiple Z-sections, we can show them all at once using Z-projection). The selected ROIs will be highlighted blue on the image.

## Export ROI statistics
27. To export lengths and intensities of ONLY the 3rd channel (Aurora-B) turn on only this channel on the Settings tab of the right-hand panel.
28. Export the Intensities, areas and line lengths into Excel. Select in the top-left corner ROIs > Export as Table. This will export the values from the selected ROIs.
29. Open the downloaded table in Excel or similar tool to see the lengths and intensity measurements for the ROIs.
32. To export lengths and intensities of ONLY the 3rd channel (Aurora-B) turn on only this channel on the Settings tab of the right-hand panel.
33. Export the Intensities, areas and line lengths into Excel. Select in the top-left corner ROIs > Export as Table. This will export the values from the selected ROIs.
34. Open the downloaded table in Excel or similar tool to see the lengths and intensity measurements for the ROIs.

## OMERO.figure
30. Back in the webclient window, select both 5-rated (VRAQ_01.r3d_D3D.dv and IN_02.r3d_D3D.dv), right-click them (on the left-side file list) and select Open with... -> OMERO.figure.
31. Change the paper orientation to horizontal in File > Paper Setup.
35. Back in the webclient window, select both 5-rated (VRAQ_01.r3d_D3D.dv and IN_02.r3d_D3D.dv), right-click them (on the left-side file list) and select Open with... -> OMERO.figure.
36. Change the paper orientation to horizontal in File > Paper Setup.

## Making a grid in OMERO.figure
32. Drag the images to place one above the other, select both and click the Grid layout button ![](visuals/grid_button.png){width=50}. Resize to make the figure smaller. Copy both images and paste twice to make a grid with 2 rows with 3 columns.
33. Select both panels from each column in turn and toggle on a different channel for each column. Select all panels and try different Z indices and Z-projections.
37. Drag the images to place one above the other, select both and click the Grid layout button ![](visuals/grid_button.png){width=50}. Resize to make the figure smaller. Copy both images and paste twice to make a grid with 2 rows with 3 columns.
38. Select both panels from each column in turn and toggle on a different channel for each column. Select all panels and try different Z indices and Z-projections.

![](visuals/figure_channel_grid.png){fig-alt="OMERO.figure with blue, green, and red columns of images" fig-align="center"}

## Add labels to figure
34. Select the 2 panels in the left column, click on the Labels tab in the right panel and under Add Labels choose [image-name] from the drop-down menu. Click on the position chooser and choose "Left Vertical" from the options. Click Add.
39. Select the 2 panels in the left column, click on the Labels tab in the right panel and under Add Labels choose [image-name] from the drop-down menu. Click on the position chooser and choose "Left Vertical" from the options. Click Add.

![](visuals/figure_add_labels.png){fig-alt="OMERO.figure with labels tab adding image.name label with position dropdown open" fig-align="center"}

## Exporting figures
35. Click Export PDF and then when complete, click the Download button. Open the downloaded pdf in any suitable program and find the second page of the pdf. Click on the link to the image and see that you are navigated back to OMERO in your browser and the appropriate image, which was used in the Figure, is highlighted.
40. Click Export PDF and then when complete, click the Download button. Open the downloaded pdf in any suitable program and find the second page of the pdf. Click on the link to the image and see that you are navigated back to OMERO in your browser and the appropriate image, which was used in the Figure, is highlighted.

## Viewing other users' figures
36. Save the figure and see that the URL updates to a new URL for this figure which can be shared with colleagues. File > Open can be used to open your own figures or those of colleagues.
37. Click File > Open, then click on the Owner button to select a figure of other users (your colleagues). Select and open other users’ figures and study them.
38. With another user’s figure open, select File > Save a Copy to save your own copy of your colleague’s figure. Note that you cannot directly save changes on their figure.
41. Save the figure and see that the URL updates to a new URL for this figure which can be shared with colleagues. File > Open can be used to open your own figures or those of colleagues.
42. Click File > Open, then click on the Owner button to select a figure of other users (your colleagues). Select and open other users’ figures and study them.
43. With another user’s figure open, select File > Save a Copy to save your own copy of your colleague’s figure. Note that you cannot directly save changes on their figure.

# Homework for Day 2: Make sure you can run Fiji
1. Start the Fiji app and use the OMERO plugin to browse data in OMERO i.e. Plugins > OMERO > Connect To OMERO
Expand Down
Binary file added visuals/omero_overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5be0723

Please sign in to comment.