Closed schroeme closed 4 months ago
Hi @schroeme! From your code snippet, it looks like you're using the implementation of scCODA in pertpy. The repository right here only contains an older implementation. Could you please open your issue in the pertpy repo? Thank you!
Thanks, will do!
Good morning,
I'm getting the following error
Covariate sex has non-unique values! Skipping...
when I run
sccoda_model = pt.tl.Sccoda() sccoda_data = sccoda_model.load( adata_small, type="cell_level", generate_sample_level=True, cell_type_identifier="cell_type", sample_identifier="10x_batch", covariate_obs=["age","region","sex","replicate"], )
where
sex
has two values,male
andfemale
. I did not get this error whensex
had 3 values,male
,female
, andmixed
. Observation names are unique and the data type forsex
is categorical. What might be causing this issue? Can a covariate not have only two possible values? Please let me know if you need more information.