pylimma.plot_ma

pylimma.plot_ma(object, array=0, coef=None, xlab='Average log-expression', ylab='log-fold-change', main=None, status=None, zero_weights=False, ax=None, **kwargs)[source]

MA plot for a matrix, EList, or MArrayLM.

Port of R limma’s plotMA. Dispatches on the class of object:

  • ndarray / matrix-like: (A, M) computed from column array vs the mean of the remaining columns.

  • EList: the E slot is extracted and the matrix path runs.

  • MArrayLM: x = Amean, y = coefficients[:, coef].

Index convention: array and coef are 0-based (matching top_table’s convention throughout pylimma).

Parameters: