You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'll first explain my exact problem and then present my suggestion.
I want to display gene density vs chromosomes.
For that, I use plotKaryotype and kpPlotDensity.
The problem is that for large sets of genes, the plot just explodes (I can provide examples for that, if needed).
As a mitigation, one can choose ymax appropriately, but that requires human intervention. As I have a lot of gene sets to plot, this method is not feasible.
I know that I can access stored densities at kp$latest.plot$computed.values$density and those values are easy to normalize.
The problem is that I cannot really plot all chromosomes simultaneously - with a normal resolution, such plots are undecipherable (again, I can present examples of that). Therefore, I'm plotting just five chromosomes at the time and would have to normalize over all atest.plot$computed.values$density for each individual plot. That's doable but I need to store all plots to have all densities computed available. But I do need to save the plots to disk. And from #58, I understood that one has to create plots in one go and that's where I'm stuck now.
Consequently, for my use case, it would be beneficial to either be able to create plots at a later time or to be able to compute densites separately from plotting, performing normalization and specifiy the computed densities as a parameter to kpPlotDensity.
The text was updated successfully, but these errors were encountered:
Hello,
I'll first explain my exact problem and then present my suggestion.
I want to display gene density vs chromosomes.
For that, I use
plotKaryotype
andkpPlotDensity
.The problem is that for large sets of genes, the plot just explodes (I can provide examples for that, if needed).
As a mitigation, one can choose
ymax
appropriately, but that requires human intervention. As I have a lot of gene sets to plot, this method is not feasible.I know that I can access stored densities at
kp$latest.plot$computed.values$density
and those values are easy to normalize.The problem is that I cannot really plot all chromosomes simultaneously - with a normal resolution, such plots are undecipherable (again, I can present examples of that). Therefore, I'm plotting just five chromosomes at the time and would have to normalize over all
atest.plot$computed.values$density
for each individual plot. That's doable but I need to store all plots to have all densities computed available. But I do need to save the plots to disk. And from #58, I understood that one has to create plots in one go and that's where I'm stuck now.Consequently, for my use case, it would be beneficial to either be able to create plots at a later time or to be able to compute densites separately from plotting, performing normalization and specifiy the computed densities as a parameter to
kpPlotDensity
.The text was updated successfully, but these errors were encountered: