pl_pca_variance_ratio
Plot PCA variance ratios to visualize explained variance in single-cell RNA sequencing data, aiding dimensionality reduction and analysis interpretation. Supports customizable plotting parameters.
Instructions
Plot the PCA variance ratio to visualize explained variance.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
color_map | No | Color map to use for continuous variables. | |
figsize | No | Figure size. Format is (width, height). | |
legend_fontoutline | No | Line width of the legend font outline in pt. | |
legend_fontsize | No | Numeric size in pt or string describing the size. | |
legend_fontweight | No | Legend font weight. A numeric value in range 0-1000 or a string. | bold |
legend_loc | No | Location of legend, either 'on data', 'right margin' or a valid keyword for the loc parameter. | right margin |
log | No | Plot on logarithmic scale. | |
n_pcs | No | Number of PCs to show. | |
palette | No | Colors to use for plotting categorical annotation groups. | |
vcenter | No | The value representing the center of the color scale. | |
vmax | No | The value representing the upper limit of the color scale. | |
vmin | No | The value representing the lower limit of the color scale. |