You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cell type and subtype calling is currently a bit cumbersome and should be simplified. Current syntax:
# processing and recomputing quantification
ds_processed = ds.pp[channels].pp.threshold(quantiles).pp.apply(medfilt2d, kernel_size=3).pp.add_quantification().pp.transform_expression_matrix(method='arcsinh')
# predicting major cell types
ds_with_ct_predictions = ds_processed.la.predict_cell_types_argmax(ct_marker_dict, key='_intensity', overwrite_existing_labels=True)
# merging processed image with segmentation etc.
# thresholding specific markers and adding the final labels
There are a couple of things that could be simplified here:
add a channel argument to pp.threshold. This way, we can still threshold selected channels, and simply threshold non-listed channels at 0. This removes the step of having one thresholded and one non-thresholded object.
a hierarchical, all-in-one approach to cell type and subtype classification. This could for example look like this:
Cell type and subtype calling is currently a bit cumbersome and should be simplified. Current syntax:
There are a couple of things that could be simplified here:
pp.threshold
. This way, we can still threshold selected channels, and simply threshold non-listed channels at 0. This removes the step of having one thresholded and one non-thresholded object.The text was updated successfully, but these errors were encountered: