Skip to content

Wired Segmentation result with training data #83

Description

@MiracleEaTu

Hi @EliHei2

I have run Segger with the provided pipeline: https://elihei2.github.io/segger_dev/notebooks/segger_tutorial/
And the Xenium output was generated by following script:

from segger.validation.xenium_explorer import seg2explorer
import dask.dataframe as dd
ddf = dd.read_parquet('segger_transcripts.parquet').compute()
ddf = ddf.dropna()
ddf = ddf[ddf.segger_cell_id != "None"]
ddf = ddf.sort_values("segger_cell_id")

seg2explorer(
    seg_df=ddf,
    source_path="Xenium_data",
    output_dir="Xenium_data",
    cells_filename="segger",
    analysis_filename="segger",
    xenium_filename="segger.xenium",
    analysis_df=None,
    cell_id_columns="segger_cell_id",
    area_low=40,
    area_high=200,
)

However, when I opened Xenium using segger.xenium, I got following results (reproduced multiple times, a lot of overlapping cells). Do you have any suggestion with parameters (e.g. kdist, kt )?

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions