If you haven't already, please read through our contributing guidelines before opening your PR
What is the purpose of this PR?
Closes #963 and closes #964.
How did you implement your changes
Passed the cell_type_colarg into the appropriate functions, renamed the arg in create_neighborhood_matrix from cluster_name_col --> cell_type_col for consistency.
Edited visualize.draw_heatmap to save images without cropping, and heatmaps are saved by default now.
Previously, the output files were saved with the same name each time the notebook was run, unless you manually changed them to indicate counts vs freq or a different cell column. Now, the results are saved to a subfolder within the neighborhood_analysis directory, indicated by the parameters specified by the user (i.e. cell_meta_cluster_radius50_counts)
The produced cell table updated with kmeans clusters now saves in this new subfolder, rather than segmentation/cell_table.
If you haven't already, please read through our contributing guidelines before opening your PR
What is the purpose of this PR?
Closes #963 and closes #964.
How did you implement your changes
Passed the
cell_type_col
arg into the appropriate functions, renamed the arg increate_neighborhood_matrix
from cluster_name_col --> cell_type_col for consistency. Editedvisualize.draw_heatmap
to save images without cropping, and heatmaps are saved by default now.Previously, the output files were saved with the same name each time the notebook was run, unless you manually changed them to indicate counts vs freq or a different cell column. Now, the results are saved to a subfolder within the
neighborhood_analysis
directory, indicated by the parameters specified by the user (i.e.cell_meta_cluster_radius50_counts
) The produced cell table updated with kmeans clusters now saves in this new subfolder, rather thansegmentation/cell_table
.Remaining issues NA