Closed EDISON2022W closed 1 year ago
I used the command
GWASTools::gdsSubset(input, sub.input, sample.include=IDuse, snp.include=snpuse) to subset the gds file.
Then I checked the file using
GWASTools::gdsSubsetCheck(input, sub.input, sample.include=IDuse, snp.include=snpuse)
It returned "All variables match."
Finally, I used the command
GdsGenotypeReader("sub.input") to read the file.
It returned an error
Error in validObject(.Object) : invalid class “GdsGenotypeReader” object: genotype order is not specified: 'snp,scan' or 'scan,snp'
I would appreciate it if you could help me with the problem. Thanks!
I used the command
GWASTools::gdsSubset(input, sub.input, sample.include=IDuse, snp.include=snpuse) to subset the gds file.
Then I checked the file using
GWASTools::gdsSubsetCheck(input, sub.input, sample.include=IDuse, snp.include=snpuse)
It returned "All variables match."
Finally, I used the command
GdsGenotypeReader("sub.input") to read the file.
It returned an error
Error in validObject(.Object) : invalid class “GdsGenotypeReader” object: genotype order is not specified: 'snp,scan' or 'scan,snp'
I would appreciate it if you could help me with the problem. Thanks!