3.2 Getting the Metadata
The metadata file describes the experimental design: which sample belongs to which condition and replicate. This information is essential for DESeq2 to model expression differences correctly.
git_root <- system("git rev-parse --show-toplevel", intern = TRUE)
samples_info <- read.table(
file.path(git_root, "data", "metadata", "metadata.tsv"),
header = TRUE,
sep = "\t",
check.names = TRUE
)💡 Tip: Use the interactive table below to verify your sample metadata before proceeding.