Skip to content

Error in colnames<-(*tmp*, value = sampleID) :  #15

@ConnieXuhm

Description

@ConnieXuhm

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions