pyBigWig
pyBigWig copied to clipboard
get the list of all possible stats
Hi, I am wondering if there is a way to get the list of all possible stats described here: https://github.com/deeptools/pyBigWig/blob/705b07495ea78740eb7ea94fb0082e23661d9929/libBigWig/bigWig.h#L99-L107
For example,
import pyBigWig
possible_stats = pyBigWig.stats_cases
possible_stats
['mean', 'average', 'max', 'min', 'stdev', 'dev', 'coverage', 'cov', 'sum']
Or something like this... Many thanks
You mean you want all of them for a given region or just to have a list of the stats that could be returned? It's always just been the 6 that you mentioned, though I suppose if there are ever others added then something like pyBigWig.statistics that returned a list of the possibilities would make sense.
Hi, Yes, the idea would be just to have a list of strings with the possible options for stats. Thanks