plot_QxEC | R Documentation |
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.
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
)
Qeff |
output from the function |
EC |
|
env_id |
|
QTL |
|
sign_thre |
|
EC_id |
|
trait_id |
|
main |
|
col_vec |
|
text_size |
|
QTLxEC sensitivity plot
Vincent Garin
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.