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

Determining prior parameters #4

Open
sofiedemeyer opened this issue Oct 5, 2023 · 1 comment
Open

Determining prior parameters #4

sofiedemeyer opened this issue Oct 5, 2023 · 1 comment

Comments

@sofiedemeyer
Copy link

Dear,

I am trying your software on my own dataset. I have around 29000 cells in which in total around 16000 genes are detected. Moreover, there are 65 genes that are perturbed. What is the best way to determine the prior parameters for fit0? In my last execution I used prior_beta_s = 20 (and the others as specified in the vignette), but I still have a lot of genes with lsfr equal to 0, which makes it hard to identify the real impact..

Thank you in advance!

@LifanLiang
Copy link
Collaborator

This is a tricky issue. The Gaussian mixture prior in GSFA is quite robust to various settings. I think there are two issues you can check:

(1) Considering that your dataset has many more target genes than those in the vignette, the first thing you can try is increasing the number factors, say k=70. Usually it is better to have too many factors than too few of them. The latter would lead to many false positives;

(2) lfsr may cause inflation when input data is not sufficiently Normal even after transformation. You may need to retain the posterior samples of beta and calculate your own P(beta!=0) in this case.

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