plot_pheno_cor {cape} | R Documentation |
Plot trait pairs against each other
Description
This function plots pairs of traits against each other to visualize the correlations between traits.
Usage
plot_pheno_cor(
data_obj,
pheno_which = NULL,
color_by = NULL,
group_labels = NULL,
text_cex = 1,
pheno_labels = NULL,
pt_cex = 1
)
Arguments
data_obj |
a |
pheno_which |
A vector of trait names to plot. The default is to plot all traits. |
color_by |
A character string indicating a value to color the traits by, for example sex or treatment.
It must be one of the covariates. See |
group_labels |
A vector of names for the legend indicating the groups for the colored dots. |
text_cex |
A numeric value indicating the size of the text |
pheno_labels |
A vector of names for traits to appear in the plot in case the column names are not very pretty. |
pt_cex |
A numeric value indicating the size of the points. |
[Package cape version 3.1.2 Index]