-
Notifications
You must be signed in to change notification settings - Fork 11
after selects(SP) ,how to simer(SP) #7
Copy link
Copy link
Open
Description
hello,when i finsh my simulation and selections, how can i simer(SP)
library(simer)
Generate genotype simulation parameters
SP <- param.annot(pop.marker = 1e4,species='pig', qtn.num = list(tr1 = 10, tr2 = 10))
Generate annotation simulation parameters
SP <- param.geno(SP = SP, pop.ind = 1e2)
Generate phenotype simulation parameters
SP <- param.pheno(
SP = SP,
phe.var = list(tr1 = 100, tr2 = 100),
phe.model = list(
tr1 = "T1 = A + E",
tr2 = "T2 = A + E"
)
)
Generate selection parameters
!!!!!********** SP <- param.sel(SP = SP, sel.multi = "indcul") ***********!!!!!
index.wt=c(0.6,0.4),sel.multi = "index"
sel.multi = "indcul"
sel.multi = "tdm"
Run annotation simulation
SP <- annotation(SP)
Run genotype simulation
SP <- genotype(SP)
Run phenotype simulation
SP <- phenotype(SP)
Run selection
SP <- selects(SP)
I want to simulate the effect of comparing different sel.multi,but different sel.multi have same mean(SP[["pheno"]][["pop"]][["gen1"]][["T2"]])
what can i do about this
and the error is
SP <- simer(SP)
错误于if (verbose) {: 参数长度为零
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels