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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pca_results_path": "<pca_results_path>"
},
"name": "create_pca_plot"
}
}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 |