Skip to content

Generation of "genMap" and "haplo" objects from PLINK .bed , .bim and .fam files and using real genomic information in AlphaSimR #118

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

You must be logged in to vote

I didn't go through your code at length, so I'll just make a couple general comments. First, I'm not a user of Plink and my knowledge of that software is pretty limited. I've gone through some of their documentation of file standards and this is the basis of my comments.

For the genetic map, you'll want the map positions in Morgans for AlphaSimR. Genetic map positions in Plink are optional, so you may not have them. When they are present, they'll be listed in cM, so you'll need to divide by 100 when importing in AlphaSimR.

The one weakness of the Plink formats from the standpoint of simulations in AlphaSimR is that it doesn't contain haplotypic phase information. That is, it doesn't disti…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gregorgorjanc
Comment options

@Leo4Luffy
Comment options

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