Skip to content

Determining prior parameters #4

Open

Description

@sofiedemeyer

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!

Activity

  1. LifanLiang commented on Nov 17, 2023

    @LifanLiang
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions