I have been trying to draw the plots but with eQTL variant P values from GTEx instead. I have the 1000G data converted to HapMap format and the association data contains the same columns as the example file provided, just the p-value is of an eQTL instead of a GWAS p-value. The annotation file was downloaded from Gencode.



I am just stuck due to multiple errors, the latest one being:
IntGenicPlot('ENST00000515776',gtf=gtf_hmgcr,association=association_hmgcr,hapmap=hapmap_hmgcr, hapmap_ld = NULL,threshold=NULL,up=100000,down=100000,leadsnpLD = FALSE, marker2highlight=NULL,link2gene=NULL,link2LD=marker2link, marker2label=NULL,marker2label_angle=60,marker2label_size=2)
Error in snpgdsCreateGeno("test.gds", genmat = gene_snp2, sample.id = names(gene_snp)[12:dim(gene_snp)[2]], :
'snpfirstdim=TRUE', but length(sample.id) is not the number of samples.
In addition: There were 15 warnings (use warnings() to see them)_
I have been trying to draw the plots but with eQTL variant P values from GTEx instead. I have the 1000G data converted to HapMap format and the association data contains the same columns as the example file provided, just the p-value is of an eQTL instead of a GWAS p-value. The annotation file was downloaded from Gencode.



I am just stuck due to multiple errors, the latest one being:
Error in snpgdsCreateGeno("test.gds", genmat = gene_snp2, sample.id = names(gene_snp)[12:dim(gene_snp)[2]], :
'snpfirstdim=TRUE', but length(sample.id) is not the number of samples.
In addition: There were 15 warnings (use warnings() to see them)_