Heatmap chrom lenght - col width
abyssum opened this issue · comments
Full description:
The column width in the infercnv heatmap does not correspond to the length of the chromosome. It rather corresponds to the number of genes in the chromosome. This is consistent with the original infercnv implementation, but arguably a suboptimal visualization. In copykat, the visualization is correct.
Possible solution:
Remap bins representing n
genes to their actual genomic position. Iterate over the genome in bins of a certain size (for instance 1kb). For each genomic bin, compute the average of all gene-bins falling in that region.