create_pca_plot
Create a PCA scatter plot of PC1 vs PC2 to visualize population structure from genetic data. Optionally overlay population labels for clear grouping.
Instructions
Create a PCA scatter plot showing population structure. Plots PC1 vs PC2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pca_results_path | Yes | Path to PCA results file (with PC1, PC2 columns) | |
| population_labels_path | No | Optional path to population labels file | |
| output_path | No | Path to save the plot | |
| title | No | Plot title | PCA Plot |