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

scANVI annotation component #833

Merged
merged 10 commits into from
Aug 30, 2024
Merged

Conversation

jakubmajercik
Copy link
Collaborator

@jakubmajercik jakubmajercik commented Jul 9, 2024

Changelog

scANVI annotation component

Issue ticket number and link

Closes #826

Checklist before requesting a review

  • I have performed a self-review of my code

  • Conforms to the Contributor's guide

  • Check the correct box. Does this PR contain:

    • Breaking changes
    • New functionality
    • Major changes
    • Minor changes
    • Documentation
    • Bug fixes
  • Proposed changes are described in the CHANGELOG.md

  • CI tests succeed!

@jakubmajercik jakubmajercik requested a review from dorien-er July 9, 2024 19:30
@jakubmajercik jakubmajercik self-assigned this Jul 9, 2024
@jakubmajercik jakubmajercik linked an issue Jul 9, 2024 that may be closed by this pull request
required: false

- name: SCANVI arguments
description: Arguments related to the SCANVI model.
Copy link
Contributor

Choose a reason for hiding this comment

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

Might be neater to restructure all the model-related argument groups, e.g. 'scVI pre-trained model' and 'SCANVI training arguments' could make sense

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

to not use the same params for refining the reference model from scvi and tuning the query one after?


logger.info("Updating with query data")

scvi.model.SCANVI.prepare_query_anndata(query, scanvi_ref, inplace=True)
Copy link
Contributor

Choose a reason for hiding this comment

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

is this line required?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it's recomended from the tutorials

Copy link
Member

@DriesSchaumont DriesSchaumont left a comment

Choose a reason for hiding this comment

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

Small requests

Copy link
Member

@DriesSchaumont DriesSchaumont left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @jakubmajercik 👍

@DriesSchaumont DriesSchaumont merged commit c361094 into main Aug 30, 2024
3 checks passed
@DriesSchaumont DriesSchaumont deleted the 826-scanvi-annotation-component branch August 30, 2024 17:04
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.

SCANVI annotation component
3 participants