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
98 stars 25 forks source link

Allow returning *only* SNP ids from SNPRateFreq #28

Closed kdm9 closed 7 years ago

kdm9 commented 7 years ago

This patch allows one to receive only the SNP ids when calling snpgdsSNPRateFreq. This is primarily useful because then the return value can easily be converted into a data frame, as all members of the list will have the same length.