JEFworks-Lab / MERmaid

WebGL-based viewer for spatially-resolved transcriptomics data
http://jef.works/MERmaid/
26 stars 5 forks source link

Enable convex hulls around points by factor #6

Closed JEFworks closed 6 years ago

JEFworks commented 6 years ago

Given a set of spatially co-colocalized points that share the same factor annotation, allow users to highlight these points by generating a convex hull around them. This will be useful, for example, for cases where each point is an mRNA in space annotated based on which cell they are assigned to. We can then make a convex hull around the mRNAs belonging to each cell to get a sense of the cell segmentation. This is also useful for cases where each point is a cell on a tSNE annotated based on cell type, etc. Other minimum bounding box algorithms may also be considered.

Potential libraries:

Implementation in deck.gl:

Alternatively, a geojson file can be provided. However, if it's not provided, more time will be spent to generate it from the csv data.