Skip to content

fastreseg_full_pipeline() does not account for counts matrices with clashing probe order #55

Description

@istvankleijn

In the fastreseg_full_pipeline(), I am running into problems when the updated_perCellExprs matrices do not have the probes in a consistent order across all FOVs. The final merge step in the pipeline then silently mixes up the probes because cbind assumes that all columns are in the same order.

updated_perCellExprs <- do.call(cbind, updated_perCellExprs)

This lead to some strange downstream results which disappeared when I merged the per-FOV matrices from the each_segRes.rds files manually and ensured that all columns and rows matched up.

I think this may have something to do with (control) probes that remain undetected being pushed to the end of the list but I am not sure about this.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions