liana icon indicating copy to clipboard operation
liana copied to clipboard

How to customise the X-axis order in heat_freq and color in chord_freq

Open mainharryHR opened this issue 1 month ago • 1 comments

Dear Liana team and users, Thanks for great package for being easy to use. After subsetting the data based on the conditions, I want to plot the heatmap with desired order of X-axis by using this code : TcellNotrunc <- TcellNoAggregate %>% filter(aggregate_rank <= 0.01) TcellNotrunc$target <- factor(TcellNotrunc$target, levels = desired_order_of_categories) heat_freq(TcellNotrunc)

But it is not working. Any suggestions to customised the order of heatmap?

In chord_freq, it seems the colors are assigned differently between three conditions. How should we customise the color?

Many thanks Harry

mainharryHR avatar May 09 '24 20:05 mainharryHR