plot_PRS_binomial: generate Violin plot comparing the distribution of PRSs...

Description Usage

View source: R/plot.R

Description

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

Usage

1
2
3
4
5
6
plot_PRS_binomial(
  plot_df,
  geno_score_col = "geno_score",
  phe_col = "phe",
  geno_z = TRUE
)

rivas-lab/snpnet documentation built on Dec. 14, 2021, 3:22 a.m.