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

Working with genome that has more than 23 chromosomes? #91

Closed hsiaoyihung closed 2 years ago

hsiaoyihung commented 2 years ago

Hi I am working with plants and there are cases my chromosome numbers are greater than 23 and the analysis I tried got cut off at 22. I was wondering is there anyways we can make it work? Thanks!

zhengxwen commented 2 years ago

Try snpgdsPCA(, autosome.only=FALSE).

hsiaoyihung commented 2 years ago

Try snpgdsPCA(, autosome.only=FALSE).

That works, thank you so much!