Skip to content

Assistance with Genomic Selection scenarios with Multi-Trait index #209

Answered by gaynorr
cecilia249 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @cecilia249

Here is a script showing the various steps with comments. Please ask questions if anything is unclear and I'd be glad to elaborate.

I also showed how to run a multi-trait model using the bWGR package. AlphaSimR's implementation of a multi-trait model really slows down with large datasets. Whereas the multi-trait model in bWGR scales nicely to large data. See this link for a good example.

library(AlphaSimR)

## Create founder haplotypes ----
founderPop = runMacs(nInd = 50, 
                     nChr = 12, 
                     segSites = 1100, 
                     inbred = TRUE)

## Set simulation parameters ----

# Initialize simulation parameters
SP = SimParam$new(founder…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by cecilia249
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