Skip to content

pbDS(pb, design = mm, contrast = contrast) error #136

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

Open
Jadeapple opened this issue Jun 4, 2024 · 2 comments
Open

pbDS(pb, design = mm, contrast = contrast) error #136

Jadeapple opened this issue Jun 4, 2024 · 2 comments

Comments

@Jadeapple
Copy link

I ran pbDS(pb, design = mm, contrast = contrast) and got the following error:
Error in pbDS(pb, design = mm, contrast = contrast) :
Specified filtering options result in no genes in any clusters being tested. To force testing, consider modifying arguments 'min_cells' and/or 'filter'. See '?pbDS' for details.

then I ran pbDS(pb, design = mm, contrast = contrast,min_cells=1,filter="none"), and the same error appeared. what should I do?

@HelenaLC
Copy link
Owner

HelenaLC commented Jun 4, 2024

Independent of filter=..., the function will drop samples with fewer than min_cells in a the cluster being tested. Then, the rank of the design matrix is checked and at least two samples need to be present per group. So... my intuition is that your clusters aren't represented by at least two replicates in both groups. Maybe you could screenshot & post something like table(sce$sample_id, sce$group_id) and table(sce$sample_id, sce$cluster_id) to better understand what's causing the issue?

@Jadeapple
Copy link
Author

Independent of filter=..., the function will drop samples with fewer than min_cells in a the cluster being tested. Then, the rank of the design matrix is checked and at least two samples need to be present per group. So... my intuition is that your clusters aren't represented by at least two replicates in both groups. Maybe you could screenshot & post something like table(sce$sample_id, sce$group_id) and table(sce$sample_id, sce$cluster_id) to better understand what's causing the issue?

you are right,I have no replicates, only one sample per group. So I can't use this method to do differential analysis?

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

No branches or pull requests

2 participants