Dear,

I am using the R package SNPRelate but I found an error when I run the
following command. Do you know what might be the problem? Thanks in
advance.


> vcf.fn <- system.file("extdata","str.vcf",package="SNPRelate")
> snpgdsVCF2GDS(vcf.fn,"test.gds")


Start snpgdsVCF2GDS ...
        Extracting bi-allelic and polymorhpic SNPs.
        Scanning ...
        file: D:/Program Files/R/R-2.14.2/library/SNPRelate/extdata/str.vcf
Error in scan.vcf.marker(fn, method) :
  The file (D:/Program Files/R/R-2.14.2/library/SNPRelate/extdata/str.vcf) has 
different numbers of columns.


Best regrads


--
Dr. Ye SUN
Key Laboratory of Plant Resources Conservation and Sustainable Utilization
South China Botanical Garden, Chinese Academy of Sciences
Xingke Road 723,Tianhe District, Guangzhou 510650, PR China




        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to