Skip to content

after selects(SP) ,how to simer(SP) #7

@quanhw

Description

@quanhw

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) {: 参数长度为零

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions