Complete AI Training

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.

All 22 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

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

  1. Ask for any missing context before starting.
  2. Provide a clear explanation of PCA and its relevance to biochemical data.
  3. Walk me through the steps to perform PCA, including data standardization, covariance matrix computation, and eigen decomposition.
  4. Explain how to interpret the principal components, including loadings and variance explained.
  5. Provide guidance on determining the number of components to retain and visualizing the results.
  6. 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?