Skip to content

Do we have an output to the magnitude of the QTL effects? #145

Answered by gregorgorjanc
alanaselli asked this question in Q&A
Discussion options

You must be logged in to vote

@alanaselli see this

> #Create founder haplotypes
> founderPop = quickHaplo(nInd=10, nChr=1, segSites=10)
> #Set simulation parameters
> SP = SimParam$new(founderPop)
> SP$addTraitA(10)
> SP$traits
[[1]]
An object of class "TraitA"
Slot "addEff":
 [1] -0.19952892 -0.35820658  0.70717565  0.34210157
 [5]  0.28970031  0.08040327  0.62986622  0.27986490
 [9]  0.68571113  0.84299564

Slot "intercept":
[1] 0.1159337

Slot "nLoci":
[1] 10

Slot "lociPerChr":
[1] 10

Slot "lociLoc":
 [1]  1  2  3  4  5  6  7  8  9 10

Slot "name":
[1] "Trait1"

You might want to consider doing the AlphaSimR intro course;) https://www.edx.org/course/breeding-programme-modelling-with-alphasimr

To set the effects, …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alanaselli
Comment options

Answer selected by alanaselli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants