.preparePhenotypeByDegreeData {ggpedigree} | R Documentation |
Prepare data for ggPhenotypeByDegree This function prepares the data frame for plotting by calculating necessary columns and ensuring required columns are present.
Description
Prepare data for ggPhenotypeByDegree This function prepares the data frame for plotting by calculating necessary columns and ensuring required columns are present.
Usage
.preparePhenotypeByDegreeData(
df,
y_var,
y_se = NULL,
y_stem_se = NULL,
y_ci_lb = NULL,
y_ci_ub = NULL,
config = list()
)
Arguments
df |
Data frame containing pairwise summary statistics. Required columns:
|
y_var |
Name of the y-axis variable column (e.g., "r_pheno_rho"). |
y_se |
Name of the standard error column (e.g., "r_pheno_se"). |
y_stem_se |
Optional; base stem used to construct SE ribbon bounds. (e.g., "r_pheno") |
y_ci_lb |
Optional; lower bound for confidence interval (e.g., "r_pheno_ci_lb"). |
y_ci_ub |
Optional; upper bound for confidence interval (e.g., "r_pheno_ci_ub"). |
config |
A list of configuration overrides. Valid entries include:
|
Value
A modified data frame with additional columns for plotting.