heatmap labels of the cells clusters are squished #33
-
@nturaga @hawrobin @teslajoy @jweiser @SolomonShorser-OICR Hi everyone, could you please possibly help me out to fix the label spacing issue of the clusters shown by reactomegsa for the single cell data. As shown in the figure, the data label on the x axis is cropped. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @jjyotikataria, Any additional parameter passed to the Unfortunately, even though it's quite powerful, it's still not a great plotting function. Here is the example taken from the single cell analysis vignette showing you how to adapt the main parameters: plot_gsva_heatmap(gsva_result,
pathway_ids = relevant_pathways, # limit to these pathways
margins = c(6,30), # adapt the figure margins in heatmap.2
dendrogram = "col", # only plot column dendrogram
scale = "row", # scale for each pathway
key = FALSE, # don't display the color key
lwid=c(0.1,4)) # remove the white space on the left Essentially, you'll have to play with the More details on the |
Beta Was this translation helpful? Give feedback.
Hi @jjyotikataria,
Any additional parameter passed to the
plot_gsva_heatmap
function is directly forwarded to theheatmap.2
function.Unfortunately, even though it's quite powerful, it's still not a great plotting function. Here is the example taken from the single cell analysis vignette showing you how to adapt the main parameters: