-
Notifications
You must be signed in to change notification settings - Fork 5
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
Inverse Hyperbolic Sine Transformation Was Applied to DWPCs Reported on the Connectivity Search Website #177
Comments
Hey @NegarJanani. Wondering if you can provide a comment in addition to the title. |
Hi @dhimmel I will update it soon :) |
Thanks @NegarJanani for helping clarify the documentation. I agree the webapp should note if the DWPCs are transformed or not. I believe the DWPCs shows in the webapp are transformed due to: Quoting from the manuscript:
And this line of code in the API. Do we also need to update the description for this API field? |
I think it would be useful to update the API as well. |
When I was trying to reproduce the code, I found that the DWPCs I calculated using the hetnetpy repository differed from those in the connectivity search website. Upon further investigation of the code in connectivity-search-analyses/explore, I discovered that an inverse hyperbolic sine transformation was applied to the DWPCs, accounting for the difference.
This transformation makes sense because it can reduce the influence of outliers in a right-skewed distribution. Since DWPCs are sparse, it helps fit the Gamma-hurdle distribution to the data and find p-values using the Gamma-hurdle distribution as the null distribution.
After discussing with @cgreene, he believes it would be useful to mention this both here and in the connectivity-search-frontend repository.
The text was updated successfully, but these errors were encountered: