limix.plot.pca¶
-
limix.plot.
pca
(X, pts_kws=None, ax=None)¶ 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.
Returns: ax – Axes object with the plot for further tweaking.
Return type: matplotlib Axes
Example
(Source code, png)