I'm trying to create a Heatmap by genomic coordinate using the ChromHeatMap package. For this I first have to create an annotated object for my expression data using the makeChrStrandData, so every gene is annotated by it's genomic location. I'm using the annotation package "org.Hs.eg.db" which uses ENTREZ ID as gene identifiers so first I transform my 11 gene ID into this format obtaining a matrix in which I get the 11 genes (with ENTREZ ID) in the rows and the samples in the colums. With this the function works fine:
chrdata<-makeChrStrandData(matrix_entrez, lib='org.Hs.eg.db')
But I'm only obtaining information for 4 of the 11 genes that I have in the matrix. Since the function is giving no error I don't know how to solve this problem.