generate Violin plot comparing the distribution of PRSs (Z-score if geno_z == TRUE) stratified by case/control status. plot_df should contain PRS and phenotype columns for (typically test) set of individuals the column names can be specified in geno_score_col and phe_col
1 2 3 4 5 6 | plot_PRS_binomial(
plot_df,
geno_score_col = "geno_score",
phe_col = "phe",
geno_z = TRUE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.