We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If defining protein_names_uns_key the DE function fails. This is unexpected behaviour.
def test_totalvi_de_error(save_path): adata = synthetic_iid() TOTALVI.setup_anndata( adata, batch_key="batch", protein_expression_obsm_key="protein_expression", ) model = TOTALVI(adata) model.train(1, train_size=0.5) model.differential_expression(groupby="labels", group1="label_1") adata = synthetic_iid() TOTALVI.setup_anndata( adata, batch_key="batch", protein_expression_obsm_key="protein_expression", protein_names_uns_key="protein_names", ) model = TOTALVI(adata) model.train(1, train_size=0.5) model.differential_expression(groupby="labels", group1="label_1")
ValueError("cannot reindex on an axis with duplicate labels")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If defining protein_names_uns_key the DE function fails. This is unexpected behaviour.
ValueError("cannot reindex on an axis with duplicate labels")
The text was updated successfully, but these errors were encountered: