View source: R/plot_int_heat.R
plot_int_heat | R Documentation |
This internal function is called by
plot_effects
to generate a
heat map showing the effects of genotype on
phenotype. This function fits linear models
to the markers and traits. It then uses
these models to predict trait values at
different genotype combinations in a 2D
grid. It plots these predicted values in
a heat map.
plot_int_heat(
phenoV,
marker1_vals,
marker2_vals,
pheno_name = NULL,
marker1_label = NULL,
marker2_label = NULL,
bins1 = 50,
bins2 = 50
)
phenoV |
A vector of trait values |
marker1_vals |
A vector of genotype values for marker1 |
marker2_vals |
A vector of genotype values for marker2. |
pheno_name |
A string indicating the name of the trait being plotted. |
marker1_label |
A string indicating the name of marker1 |
marker2_label |
A string indicating the name of marker2 |
bins1 |
The number of bins for marker1 over which to predict values of the trait. This can also be a vector specifying those bins. |
bins2 |
The number of bins for marker2 over which to predict values of the trait. This can also be a vector specifying those bins. |
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.