Entering edit mode
3.2 years ago
Arta
•
0
Hi everyone,
I am working with a genotype set that is not identified with the samples IDs that I want. However, I do have a lookup table which I can use in R to get the right identification when I need it.
My question is: how do I fully replace the IDs using PLINK so that I don't have to cross-reference with R everytime?
--update-ids
is all I have so far
Thank you
Why not just use R to replace the IDs in the .fam file - you would only have to do this once and then you can use the correct IDs. Unless I misunderstand your question.
Sorry @Arta, I deleted my comment. But no, it wouldn't matter since the names aren't stored in the
.bed
file - the names are stored in order in the.fam
, so you can change them, as long as you keep the lines in the same order.