limix.plot.power(pv, label=None, alphas=None, pts_kws=None, ax=None)[source]

Plot number of hits across significance levels.

  • pv (array_like) – P-values.

  • label (string, optional) – Legend label for the relevent component of the plot.

  • alphas (array_like, optional) – Significance thresholds for which the number of hits is defined. Defaults to numpy.linspace(0.01, 0.5, 500).

  • pts_kws (dict, optional) – Keyword arguments forwarded to the matplotlib function used for plotting the points.

  • ax (matplotlib Axes, optional) – The target handle for this figure. If None, the current axes is set.


(Source code, png)