Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customise task column info #918

Open
rcannood opened this issue Jan 27, 2025 · 0 comments
Open

Customise task column info #918

rcannood opened this issue Jan 27, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@rcannood
Copy link
Member

Is your feature request related to a problem?

We need to store information related to how the funkyheatmap column info (docs) is generated. Right now, there is the name of the component, the overall score (across all datasets and metrics), dataset-specific scores (per dataset, across metrics), metric-specific scores (per metric, across datasets).

For batch integration we want to create additional columns in the column info which show:

  • whether a method supports feature, embedding and/or graph outputs
  • overall scores per metric type (feature, embedding, graph)

For spatially variable genes, we want to provide different ways of aggregating the datasets because there are too many. E.g. perhaps by tissue or disease.

Describe the solution you'd like

Perhaps the info could be stored in the _viash.yaml, e.g.

info:
  column_info:
    - geom: text, id: method_name, name: Name
    - geom: text, id: method_outputs_feature, name: Outputs feature matrix
    - geom: text, id: method_outputs_embedding, name: Outputs embedding
    - geom: text, id: method_outputs_graph, name: Outputs graph
    - geom: bar, id: overall_feature, name: Overall feature scores # that is, an average of the scores that are relevant for the feature outputs, i.e. the feature + embedding + graph metrics)
    - geom: bar, id: overall_embedding, name: Overall embedding scores # average of the embedding + graph metrics
    - geom: bar, id: overall_graph, name: Overall graph scores # average of the graph metrics

However, this also requires being able to specify how values like method_outputs_feature and overall_graph are computed.

In addition, for example, when computing averages per dataset tissue type across metrics, we don't know ahead of time which tissue types there are. That is, we could require the user type to know the tissue types beforehand, but then if more datasets with new tissue types get added, the user would be required to update the values in the _viash.yaml.

Therefore, the computations of this data could be formatted as something like a query of sorts?

@rcannood rcannood added the enhancement New feature or request label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant