-
Notifications
You must be signed in to change notification settings - Fork 23
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
CZI-tiledb SCVI Custom Dataloader additions #1339
base: ebezzi/census-scvi-datamodule
Are you sure you want to change the base?
CZI-tiledb SCVI Custom Dataloader additions #1339
Conversation
CHANGED TO MAKE IT RUN ON SCVI-TOOLS
label_keys | ||
List of obs column names concatenated to form the label column. | ||
unlabeled_category | ||
Value used for unlabeled cells in `labels_key` used to set up CZI datamodule with scvi. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Value used for unlabeled cells in `labels_key` used to set up CZI datamodule with scvi. | |
Value used for unlabeled cells in `labels_key` used to set up `CensusSCVIDataModule`. |
@@ -577,7 +579,7 @@ def __init__( | |||
experimental | |||
""" | |||
self.exp_uri = experiment.uri | |||
self.aws_region = experiment.context.tiledb_ctx.config().get("vfs.s3.region") | |||
self.aws_region = experiment.context.tiledb_ctx#.config().get("vfs.s3.region") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems a bit suspicious - can you remind me what exactly required this change?
|
||
# basicaly we should mimiC everything below to any model census in scvi | ||
adata_orig = synthetic_iid() | ||
scvi.model.SCVI.setup_anndata(adata_orig, batch_key="batch") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain a bit what synthetic_iid()
generates?
Adding the SCVI-Tools team addition to the Ebezzi/census branch scvi datamodule from cellxgene.