View source: R/plot_pheno_cor.R
plot_pheno_cor | R Documentation |
This function plots pairs of traits against each other to visualize the correlations between traits.
plot_pheno_cor(
data_obj,
pheno_which = NULL,
color_by = NULL,
group_labels = NULL,
text_cex = 1,
pheno_labels = NULL,
pt_cex = 1
)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.