This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is an R package (p3003PBC) containing educational materials for the FGCZ (Functional Genomics Center Zurich) Protein Bioinformatics Course. The package includes lecture slides and R exercises covering experimental design, hypothesis testing, linear models, multiplicity correction, sample size estimation, and GSEA.
-
R/: Core R functions
utilities.R: Containssample_stats()function for statistical simulationsBHExtracted.R: Implementation of Benjamini-Hochberg p-value adjustmenthello.R: Template function
-
vignettes/: Course lecture materials as R Markdown (xaringan) presentations
ExpDesign.Rmd: Experimental design lectureHypothesis_Testing_p3003.Rmd: Hypothesis testing lectureIntroductionToLinearModels.Rmd: Linear models lectureMultiplicity_p3003.Rmd: Multiple testing correction lectureSampleSizeEstimation.Rmd: Sample size estimation lectureGSEA_with_msig.Rmd: Gene set enrichment analysis lectureOtherSoftware.Rmd: Overview of other proteomics softwareBriefIntroductionTooR.Rmd: R programming introductionrenderAllVignettest.R: Script to render all vignette presentations
-
inst/: Additional resources
images/: Lecture slide imagesfgcz_formatting/: FGCZ branding files (CSS, headers, footers)BaseR_JG/: Base R workshop materials and example data
# Install package with source code
devtools::install()
# Or from command line
R CMD INSTALL --no-multiarch --with-keep.source .# Render individual vignette
rmarkdown::render("vignettes/ExpDesign.Rmd")
# Or use the batch rendering script
source("vignettes/renderAllVignettest.R")# Load package for development
devtools::load_all()
# Check package
devtools::check()
# Run tests (if available)
devtools::test()- Presentation Framework: xaringan (remark.js-based slides)
- Output Format: HTML presentations with custom CSS (metropolis theme)
- Statistical Packages: coin, lme4, lmerTest, multcomp, pwr, asympTest
- Data Manipulation: tidyverse, dplyr, tidyr, purrr
- Visualization: ggplot2, ggfortify, GGally, ggbeeswarm
- Proteomics: MSqRob (from statOmics), limma (Bioconductor)
All vignettes use xaringan::moon_reader with:
- 16:9 aspect ratio
- metropolis theme
- GitHub-style code highlighting
- Incremental slide numbering
- Custom CSS from
trug-ggplot2.css
- This is an educational package, not a production tool
- Vignettes are designed as presentation slides, not analysis reports
- Images are referenced from
../inst/images/in vignettes - Package dependencies include both CRAN and Bioconductor packages (see DESCRIPTION:42-44)