Skip to content

Implement a table view to show values from loaded data (mostly from CSV files) #2

@cudmore

Description

@cudmore

Would be great to have a fairly general purpose table view to show point and (derived) line annotations.

We do not need full spreadsheet functionality but a solid set of functions would be:

  • Sort by column
  • Single selection (mouse click)
  • Continuous selection (shift + mouse click)
  • Discontinuous selection (opt/cmd + mouse click)
  • Programmatically filter rows based on a column value. Like only show rows of point annotations where the segmentID column equals a value or only show rows where the roiType column equals a value.
  • Programmatically select a row and bring it into view. Used when user clicks in the point scatter over an image.
  • Programmatically control the columns displayed. For point annotations, we have a ton of columns, we want to just show a select subset.
  • Future: Allow user to select predefined subsets of columns. For example show x/y/z, show intensity metrics.

For point annotations, each row should be one point annotation.

For line annotation, each row should be a summary of information about one segment id like ('segment id', 'number of points', 'length (um)'). Length is the sum of euclidean distances between all pairwide points.

A user selection in a table should propagate to other views including the point and line scatter plots overlaying an image. Likewise, a selection in the scatter plot overlaying the image should select the corresponding row in the table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions