Skip to content

Commit

Permalink
remove unused domain labeling
Browse files Browse the repository at this point in the history
  • Loading branch information
afrendeiro committed Dec 8, 2021
1 parent 71854cc commit 4408974
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,29 +131,6 @@ def main(cli=None) -> int:
# Illustrate tumor and immune phenotype differences between primary and metastasis
illustrate_change_with_metastasis()

# Label topological domains
from imc.operations import (
label_domains,
collect_domains,
illustrate_domains,
get_domains_per_cell,
)

output_dir = results_dir / "domains"
label_domains(
[prj.rois[0]],
output_dir,
channels=["Keratin", "CD", "DNA"],
overwrite=True,
)
topo_annots = collect_domains(output_dir)
with open(metadata_dir / "domain_annotations.json", "w") as handle:
json.dump(topo_annots, handle, indent=4)
illustrate_domains(
topo_annots, prj.rois, output_dir, channels=["Keratin", "Coltype", "DNA"]
)
get_domains_per_cell(topo_annots, prj.rois)

return 0


Expand Down

0 comments on commit 4408974

Please sign in to comment.