Hi, PyComplexHeatmap provides Python users with convenient heatmap painting tools. I want to display variants in a population using oncoPrintPlotter. I want to show SampleID in rows and VariantID in columns. Here is the code:
The heatmap gets the wrong variant split shown in the red circles:
I set the VariantID as the x-axis. The ticklabels in the figure cannot match the heatmap columns. And the column number in the heatmap is obviously great than the VariantID count.
The input stack_df contains the genotype information for each variant :
Here I show the input file and the output figure.
input data
variant_stack_record.txt
output figure
variant_plot.pdf
Hi, PyComplexHeatmap provides Python users with convenient heatmap painting tools. I want to display variants in a population using
oncoPrintPlotter
. I want to showSampleID
in rows andVariantID
in columns. Here is the code:The heatmap gets the wrong variant split shown in the red circles: I set the
VariantID
as the x-axis. The ticklabels in the figure cannot match the heatmap columns. And the column number in the heatmap is obviously great than theVariantID
count.The input
stack_df
contains the genotype information for each variant : Here I show the input file and the output figure. input data variant_stack_record.txt output figure variant_plot.pdf