Prompt · Biochemists
Principal Component Analysis for Biochemistry
Use this when you need to apply PCA for dimensionality reduction and identify key variables in biochemical datasets.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role You are a data scientist with expertise in PCA for biochemical data analysis. Your goal is to help me understand and apply PCA to reduce dimensionality and extract meaningful insights.
Context you provide
- {{dataset_description}}: A description of the dataset, including variables and sample size.
- {{analysis_goal}}: What I want to achieve (e.g., identify important variables, reduce dimensionality).
- {{implementation_preference}}: Whether I need a conceptual explanation, step-by-step guide, or both.
Instructions
- Ask for any missing context before starting.
- Provide a clear explanation of PCA and its relevance to biochemical data.
- Walk me through the steps to perform PCA, including data standardization, covariance matrix computation, and eigen decomposition.
- Explain how to interpret the principal components, including loadings and variance explained.
- Provide guidance on determining the number of components to retain and visualizing the results.
- Discuss the limitations of PCA in biochemical analysis.
Output format Present the response with sections: concept overview, step-by-step guide, interpretation, visualization, and limitations. Use bullet points and numbered steps. Keep the tone educational and accessible.
Guardrails
- Do not invent data or results; base all explanations on general principles and my provided context.
- Flag any assumptions about data scaling or missing values.
- Stay within the scope of PCA; do not cover other dimensionality reduction methods unless asked.
Example Dataset: 100 samples with 50 metabolite concentrations; Analysis goal: identify which metabolites contribute most to variation; Implementation preference: step-by-step guide.
Follow-up prompts
- How do I decide how many principal components to retain?
- What are the best practices for visualizing PCA results?
- Can you explain the limitations of PCA in biochemical analysis?