Skip to content

getDominance? #819

Description

@antagomir

We have the following functions -

  • mia::summarizeDominance() summarizes for each feature a) count (N) in how many samples it is dominant; b) fraction (%) of samples where it is dominant
  • mia::getPrevalence() summarizes for each feature on how prevalent it is across the samples

Both of these provide statistics for all features, and could be added in rowData.

It might be helpful to be more systematic with the naming, for instance just having getPrevalence and getDominance with analogous functionality.

The fraction of samples where a feature is dominant is easy to calculate from the counts so maybe that could be just dropped.

Suggestion:

  • deprecate summarizeDominance
  • add getDominance
  • ensure that the logic and key argument names match with getPrevalence

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions