plot_PRS_vs_phe: generate a 2d heatmap plot comparing the PRS (Z-score if...

Description Usage Arguments

View source: R/plot.R

Description

generate a 2d heatmap plot comparing the PRS (Z-score if geno_z == TRUE) vs phenotype.

Usage

1
2
3
4
5
6
7
8
plot_PRS_vs_phe(
  plot_df,
  plot_bin2d_x = NULL,
  plot_bin2d_y = NULL,
  geno_score_col = "geno_score",
  phe_col = "phe",
  geno_z = TRUE
)

Arguments

plot_df

PRS and phenotype columns for (typically test) set of individuals

plot_bin2d_x

size of the x-axis grid in 2d heatmap

plot_bin2d_y

size of the y-axis grid in 2d heatmap

geno_score_col

column name of the score in plot_df

phe_col

column name of the phenotype data in plot_df

geno_z

whether to take the Z-score transformation of the score


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