zhengxwen / SNPRelate

R package: parallel computing toolset for relatedness and principal component analysis of SNP data (Development version only)
http://www.bioconductor.org/packages/SNPRelate
101 stars 25 forks source link

family information in snpgdsGDS2PED #70

Open treebreeder opened 4 years ago

treebreeder commented 4 years ago

How can I translate my .gds into .ped and automatically taking the family information from my gds object which I added before with add.gdsn() ?

Such as from:

zhengxwen commented 4 years ago

snpgdsGDS2PED() and snpgdsGDS2BED() do not have such function. But I could consider adding the function in future.

treebreeder commented 4 years ago

I think this would be nice, since it would save some extra work when you have to manipulate the ped file afterwards, although the necessary information is potentially already there! Thanks