Skip to content

parameter initialization discrepancy among flowClust APIs #15

@mikejiang

Description

@mikejiang

There are two ways of using flowClust, either through flowClust directly

flowClust(fr, params, K = K)

Or through tmixFilter

 tmix_filter <- tmixFilter(params, K = K)
 filter(fr, tmix_filter)

You would expect they return the same clustering results but as @gfinak and I just found out they actually don't.

It turns out that one of the parameters is set to different values through two APIs, i.e.
randomStart is set to 0 for flowClust but 10 for tmixFilter, which leads to the entirely different behaviors.

To avoid the future confusion, I think we may set it to 10 for both since another internal API .flowClustK also uses 10.

It would be also helpful to pass most of parameters from flowClust to .flowClustK through ... to avoid the potential discrepancy.

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