plot_QxEC {mppR} | R Documentation |
plot QTLxEC effect
Description
Plot allowing the visualization of the QTL parental allelic effect variation given an environmental covariate (EC). The function plot the sensitivity curve of the parent allelic effects.
Usage
plot_QxEC(
Qeff,
EC,
env_id = NULL,
QTL,
sign_thre = 0.05,
EC_id = "EC",
trait_id = "trait",
main = "QTLxEC",
col_vec = NULL,
text_size = 14
)
Arguments
Qeff |
output from the function |
EC |
|
env_id |
|
QTL |
|
sign_thre |
|
EC_id |
|
trait_id |
|
main |
|
col_vec |
|
text_size |
|
Value
QTLxEC sensitivity plot
Author(s)
Vincent Garin
Examples
## Not run:
data(mppData_GE)
Qpos <- c("PZE.105068880", "PZE.106098900")
EC <- matrix(c(180, 310, 240, 280), 4, 1)
rownames(EC) <- c('CIAM', 'TUM', 'INRA', 'KWS')
colnames(EC) <- 'cum_rain'
Qeff <- QTL_effect_main_QxEC(mppData = mppData_GE,
trait = c('DMY_CIAM', 'DMY_TUM', 'DMY_INRA_P', 'DMY_KWS'),
env_id = c('CIAM', 'TUM', 'INRA', 'KWS'),
QTL = Qpos, EC = EC)
pl <- plot_QxEC(Qeff, EC = EC, env_id = c('CIAM', 'TUM', 'INRA', 'KWS'),
QTL = 2, EC_id = 'cum rain', trait_id = 'DMY')
## End(Not run)