-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Hello Florian,
after importing PLINK files into R as a bigSNP object, I noticed that the reference alleles for all SNPs are inverted. To obtain the correct values, I should invert the 0s with the 2s within the genotype matrix, and additionally I should (probably) swap allele1 with allele2 for consistency. However, after trying different approaches, I haven't found a straightforward and memory-efficient way to handle this problem. Is there a way to effectively correct the encoding of the genotype matrix while ensuring that the NAs are preserved?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels