VariantAnnotation icon indicating copy to clipboard operation
VariantAnnotation copied to clipboard

expand Error data is NULL

Open DarioS opened this issue 10 months ago • 0 comments

It doesn't happen with the package's example file but does with Genome Analysis ToolKit's gnomAD allele frequency file.

populationFreq <- readVcf("af-only-gnomad.hg38.vcf.gz")
expand(populationFreq)
  Error in array(vec, c(idxlen, xcols, 2L)) : 
  'data' must be of a vector type, was 'NULL'
> traceback()
6: array(vec, c(idxlen, xcols, 2L))
5: .expandAD(gvarR, length(idx), ncol(x))
4: .expandGeno(x, hdr, elt, idx)  

DarioS avatar Aug 13 '23 12:08 DarioS