Closed Leran10 closed 2 years ago
Does the code run without errors when using the tutorial data?
Additionally, as a general approach, try simplifying the example code to help you (and me) figure out what is causing the error.
e.g. does the following work on your dataset, or throw the same error?
psq %>% tax_transform("compositional", rank = "Class") %>% comp_heatmap()
Hi,
I'm trying the example heatmap code on my study,
But I kept getting error says:
After I added
colors = heat_palette(sym = TRUE)
after the "sampleAnnotation()" part in comp_heatmap(), the error is gone.Is this line necessary here or did I misunderstood anything?
Thanks! Leran