Entering edit mode
I have an RleListView representing coverage on the CDS regions of the genome and I want to calculate summary stats on all the values in the contained views. In particular, I would like to create a per-base histogram of coverage over all the Views. Any suggestions on how to do this efficiently?
Hi Sean,
Maybe this recent discussion would help?
making a RleViewsList object gets slow with many chromosomes
It doesn't take care of the plotting but it shows you how to efficiently compute a simple function like extracting the mean coverage over the views.
Otherwise do you have code for how to "create a per-base histogram of coverage over all the Views" the inefficient way? That would be a good start for us to understand exactly what you want to do and to suggest ways to do it in a more efficient way.
Thanks,
H.