limix.plot.pca

limix.plot.pca(X, pts_kws=None, ax=None)[source]

Plot the first two principal components of a design matrix.

Parameters
  • X (array_like) – Design matrix: samples by features.

  • pts_kws (dict, optional) – Keyword arguments forwarded to the matplotlib pcolormesh function.

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

Example

(Source code, png)

../_images/limix-plot-pca-1.png