decileboxplot {comorbidPGS} | R Documentation |
Deciles BoxPlot from a PGS Association with a Continuous Phenotype
Description
decileboxplot()
take a distribution of PGS, a Continuous Phenotype
return a plot with deciles of PGS in x and Boxplot of the Phenotype in y
Usage
decileboxplot(df = NULL, prs_col = "SCORESUM", phenotype_col = "Phenotype")
Arguments
df |
a dataframe with individuals on each row, and at least the following columns:
|
prs_col |
a character specifying the PGS column name |
phenotype_col |
a character specifying the Continuous Phenotype column name |
Value
return a ggplot object (ggplot2)
[Package comorbidPGS version 0.3.4 Index]