Open
Conversation
gaow
reviewed
Nov 17, 2020
| " library(susieR)\n", | ||
| " L = min(${L}, length(z_scores))\n", | ||
| " s = susie_z(z_scores, r, r_tol = 5e-3, L = L, min_abs_corr = 0.1,\n", | ||
| " s = susie_rss(z_scores, r, r_tol = 5e-3, L = L, min_abs_corr = 0.1,\n", |
Contributor
There was a problem hiding this comment.
@sq-96 z_ld_weight is a crucial parameter that hsould be included. You probably have to pass in an additional parameter "ref_panel_size" . Otherwise the result may not be reliable as shown in the warning message of your data. See also this section https://stephenslab.github.io/susieR/articles/finemapping_summary_statistics.html#using-ld-from-reference-panel for before and after using the parameter.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes in summary_statistics_finemapping.ipynb:
s = susie_rss(z_scores, r, r_tol = 5e-3, L = L, min_abs_corr = 0.1, prior_weights=prior, track_fit=${"T" if track_fit else "F"})
Changes in finemapping_results_wrangler.ipynb
unit = dirname(f)
rds_file = dscrutils::dscread(unit, tools::file_path_sans_ext(basename(f)))