Skip to content

How to use?

raul.reyes.hueros edited this page Aug 30, 2022 · 4 revisions

The Gui is separated into tow steps:

Step1: Clean the data

In this step you can quickly remove any points that are not densely packed. Distances between points are calculated based on:

  • Neighbors: How many neighboring points to use in calculating a cells distance to other points.
  • Magnitude: Threshold for the distance (in order of magnitude), how large of a distance is accepted.
  • If there are a large amount of points it might take too long, recommend skipping this step if that's the case. -

alt text

Once you have chosen your values click 'Plot', this will label any point that will be kept as green.

alt text

If satisfied with the selected points click 'Clean' to remove all other points.

alt text

Step2: Cluster the colonies

Now let's color each cluster/colony. In this step, the points will be given a color and a unique colonyID that will represent its clustering, this can be used later on to plot and extract the colony information.

Buttons:

  • 'Estimate colonies': Estimates how many colonies there are, or you can type in your guess on the right of the button.
  • 'Plot predicted colonies': to, you know, plot the predicted colonies.

This should color the colonies based on the number in the 'estimated colonies' text window. I recommend inserting an overestimation and fixing it by hand.

alt text

The Lasso: circle and label colonies.

At any point, while using the GUI you can use The Lasso. The lasso allows the user to circle any points and say whether those points are a colony (give the points a unique colonyID) or should be ignored/discarded (label the cells as grey and with a -1 as their colonyID, this can then be used later to discard the points).

alt text

To use the Lasso you will need these hotkeys:

  • 'Shift' on your keyboard and drag the mouse over the region you want to circle.
  • 'A' = Accept (all points inside the circle are called a colony)
  • 'D' = Delete (label the cells as grey and with a -1 as their colonyID)

alt text

Align the image

The image can be moved, spun, and flipped to align it to the data. Below is an example of this:

Spinme

Extra tips:

  1. You can skip Step1 and Step2 and go straight to circling colonies, or use the Gui in any order you want.
  2. The data can be zoomed in and out with the scroll wheel.
  3. The data can be dragged to move around.
  4. The data can be returned to the original size by clicking on the "A" that shows up on the bottom left when hovering over the plotting window.
  5. The number of estimated colonies controls the gradient of colors that will be used.

Clone this wiki locally