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
Hi, first thanks for creating this useful tool! I was trying to use the build_probability_map and simulate_localization_pattern functions in order to create simulated cells with specific transcript localization patterns but am a bit confused as to how the template directory that they use as input should be formatted as this does not appear to be described at all in the documentation. From this chunk of code of utils.py (lines 244 - 256) from the build_template function:
It seems like it needs four files: cell_mask_{filename}.npy, cell_map_{filename}.npy, nuc_mask_{filename}.npy, and nuc_map_{filename}.npy where filename = "{i_cell}_{shape_str}_{protrusion_flag}". but what exactly these files are is unclear to me. Are they binary image masks files or lists of points? And what is the difference between the mask and map files?
Apologies if this is stated somewhere in the documentation.
The text was updated successfully, but these errors were encountered:
Hi, first thanks for creating this useful tool! I was trying to use the
build_probability_map
andsimulate_localization_pattern
functions in order to create simulated cells with specific transcript localization patterns but am a bit confused as to how the template directory that they use as input should be formatted as this does not appear to be described at all in the documentation. From this chunk of code ofutils.py
(lines 244 - 256) from thebuild_template
function:It seems like it needs four files:
cell_mask_{filename}.npy
,cell_map_{filename}.npy
,nuc_mask_{filename}.npy
, andnuc_map_{filename}.npy
wherefilename = "{i_cell}_{shape_str}_{protrusion_flag}"
. but what exactly these files are is unclear to me. Are they binary image masks files or lists of points? And what is the difference between the mask and map files?Apologies if this is stated somewhere in the documentation.
The text was updated successfully, but these errors were encountered: