spatial_lda icon indicating copy to clipboard operation
spatial_lda copied to clipboard

Recommendations for Updates

Open alead opened this issue 4 years ago • 0 comments

  • Provide description of dataframe/input that enters the model
  • Provide a list of options of function for data type of input from which user can choose: -- Example:

func_type = {"marker": neighborhood_to_marker, "cluster": neighborhood_to_cluster, "avg_marker": neighborhood_to_avg_marker, "count": neighborhood_to_count}

if TYPE == "marker" or TYPE == "avg_marker": neighborhood_feature_fn = functools.partial(func_type[TYPE], markers = markers) else: neighborhood_feature_fn = functools.partial(func_type[TYPE])

  • Make "anchor cell" more generalizable/define more clearly (since most data sets will probably have all cells as anchors
  • Enable user to plot 1 FOV at a time (plot_samples_in_a_row does not work when only one fov number is input) -- Maybe rename visualization functions as "sample" instead of "tumor" since not all MIBI images will be of tumors
  • Enable user to save resulting plots (currently plots are produced within the function, so to plot, it would require user to modify function)

alead avatar Jun 07 '21 23:06 alead