Dear developer,
When I used the gen2vcf function, I met this problem:
> library(oncofunco)
> gen2vcf(genFile ="1202_chr1.gen",sampleFile = "oncofunco.sample",chrName= "1",outVCFFile, outVCFHeader = "##fileformat=VCFv4.1",subsetSNPs = NULL, subsetSamples = NULL)
|--------------------------------------------------|
|==================================================|
Error in `colnames<-`(`*tmp*`, value = sampleID) :
attempt to set 'colnames' on an object with less than two dimensions
My sample file is just the same as the input sample file in IMPUTE2, and I tried to change my sample column as the name "SampleID", it still presented the same error.
Could you please help me ?
Thanks a lot!
Dear developer,
When I used the gen2vcf function, I met this problem:
My sample file is just the same as the input sample file in IMPUTE2, and I tried to change my sample column as the name "SampleID", it still presented the same error.
Could you please help me ?
Thanks a lot!