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

Number of CSs #228

Open
Xi-Cao opened this issue May 1, 2024 · 5 comments
Open

Number of CSs #228

Xi-Cao opened this issue May 1, 2024 · 5 comments

Comments

@Xi-Cao
Copy link

Xi-Cao commented May 1, 2024

Hi there,
I'm confused that how the CSs were selected. I thought the order min_abs_corr was used to determine the min corr of SNPs incorporated into a CS.
2
捕获
While when I tested in another locus, using this command didn't change the number of CSs it originally found. So why didn't it capture some new CSs with lots of SNPs, that have very small min corr?
3
Thanks,
xicao

@pcarbo
Copy link
Member

pcarbo commented May 1, 2024

@Xi-Cao min_abs_corr filters out CSs that do not satisfy the minimum absolute correlation ("purity") criterion; it has no effect on the ordering of the CSs.

If the result does not change, it means that all CSs satisfied the previous purity criterion.

@Xi-Cao
Copy link
Author

Xi-Cao commented May 2, 2024

Thanks for your reply.
So susieR found 9 CSs in the first example, while some of them didn't meet the purity criterion. In the next example, it actually found only one CS. Did I get this right?
I'm confused that why sometimes multiple CSs, each of which contains almost the entire snp with small purity of the region, are found in a region, while some regions just have few CSs. Do the PIP and absolute correlation determine the number of CS, and how?

@Xi-Cao
Copy link
Author

Xi-Cao commented May 2, 2024

By the way, considering it affects the output of CSs, is there a recommended min_abs_corr value or a selected method?

@pcarbo
Copy link
Member

pcarbo commented May 2, 2024

The basic idea is that there should be one CS for each independent signal (causal SNP), and different regions will have different numbers of causal SNPs.

Since susie sometimes outputs a CS containing a very large number of SNPs (each with small PIP), the "purity" filter is helpful for removing these CSs that are likely not interesting. Therefore, we recommend setting "min_abs_corr" to a number larger than zero, but we do not have a recommendation as to the exact number. (The default min_abs_corr = 0.5 often works well.)

@Xi-Cao
Copy link
Author

Xi-Cao commented May 3, 2024

I get it, thank you!😊

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