Skip to content

get the list of all possible stats #96

@lldelisle

Description

@lldelisle

Hi,
I am wondering if there is a way to get the list of all possible stats described here:

mean = 0, /*!< The mean value */
average = 0, /*!< The mean value */
stdev = 1, /*!< The standard deviation of the values */
dev = 1, /*!< The standard deviation of the values */
max = 2, /*!< The maximum value */
min = 3, /*!< The minimum value */
cov = 4, /*!< The number of bases covered */
coverage = 4, /*!<The number of bases covered */
sum = 5 /*!< The sum of per-base values */

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions