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

Tkakar/cat 946 map ensemble ids #1970

Merged
merged 10 commits into from
Dec 19, 2024
Merged

Tkakar/cat 946 map ensemble ids #1970

merged 10 commits into from
Dec 19, 2024

Conversation

tkakar
Copy link
Collaborator

@tkakar tkakar commented Nov 18, 2024

This PR maps ensemble-gene-ids to gene-symbols when no gene symbols are provided in the data.
Fixes CAT-946

Background

Change List

Checklist

  • Have tested PR with one or more demo configurations
  • Documentation added, updated, or not applicable

@tkakar tkakar requested a review from keller-mark November 18, 2024 14:30
@@ -50,7 +50,7 @@ import { alignedVisiumXeniumSpatialdata } from './view-configs/spatial-beta/spat
import { exemplarSmall2024, exemplarSmallPartialInit } from './view-configs/spatial-beta/exemplar-small.js';
import { lake2023, lake2023component } from './view-configs/lake-2023.js';
import { salcher2022 } from './view-configs/salcher_2022.js';

import { testConfig } from './view-configs/test.js';
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is added for the PR-review purposes, I'll remove it once, reviewed.

Copy link
Contributor

github-actions bot commented Nov 18, 2024

Size Change: +3.42 kB (+0.02%)

Total Size: 14.7 MB

Filename Size Change
./packages/main/prod/dist/index-********.js 9.27 MB +3.42 kB (+0.04%)
ℹ️ View Unchanged
Filename Size
./packages/main/prod/dist/blosc-********.js 612 kB
./packages/main/prod/dist/browser-********.js 16.2 kB
./packages/main/prod/dist/chunk-INHXZS53-********.js 558 B
./packages/main/prod/dist/deflate-********.js 244 B
./packages/main/prod/dist/gzip-********.js 693 B
./packages/main/prod/dist/higlass-********.js 3.82 MB
./packages/main/prod/dist/index.min.js 1.3 kB
./packages/main/prod/dist/jpeg-********.js 15.3 kB
./packages/main/prod/dist/lerc-********.js 47.2 kB
./packages/main/prod/dist/lz4-********.js 43.9 kB
./packages/main/prod/dist/lzw-********.js 2.11 kB
./packages/main/prod/dist/packbits-********.js 577 B
./packages/main/prod/dist/pako.esm-********.js 68.6 kB
./packages/main/prod/dist/raw-********.js 169 B
./packages/main/prod/dist/troika-three-text.esm-********.js 182 kB
./packages/main/prod/dist/webimage-********.js 837 B
./packages/main/prod/dist/zlib-********.js 695 B
./packages/main/prod/dist/zstd-********.js 643 kB

compressed-size-action

packages/vit-s/src/hooks.js Outdated Show resolved Hide resolved
packages/vit-s/src/hooks.js Outdated Show resolved Hide resolved
packages/vit-s/src/hooks.js Outdated Show resolved Hide resolved
packages/vit-s/src/hooks.js Outdated Show resolved Hide resolved
packages/vit-s/src/hooks.js Outdated Show resolved Hide resolved
Copy link
Member

@keller-mark keller-mark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I refactored this to use the async function plugin API so that other developers could potentially extend the functionality by providing their own function that returns an alternative gene ID mapping object.

Feel free to merge after confirming that it works with the testConfig and removing that config

@tkakar
Copy link
Collaborator Author

tkakar commented Dec 19, 2024

@keller-mark thanks for reviewing and refactoring. The marker genes on the scatter plot now show ensembile-ids.

Screenshot 2024-12-19 at 2 34 54 PM

@keller-mark
Copy link
Member

In which config? I am not seeing it on my end for http://localhost:3000/?dataset=test-config Screenshot 2024-12-19 at 2 49 06 PM

@tkakar
Copy link
Collaborator Author

tkakar commented Dec 19, 2024

Thanks for testing. I'm using the same test-config, other views are showing. as long as it's working, should be good.
Will remove the testConfig and merge.

@tkakar tkakar merged commit ffa8d5f into main Dec 19, 2024
8 checks passed
@tkakar tkakar deleted the tkakar/cat-946-map-ensemble-ids branch December 19, 2024 20:33
@github-actions github-actions bot mentioned this pull request Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants