02. Data Dictionary

Overview

See the Glossary for term definitions and units reference used throughout this project.

  • Describes all variables in the MMRF CoMMpass dataset from the GDC
  • CoMMpass: longitudinal observational study of ~1,000 newly diagnosed multiple myeloma patients
  • Variables span clinical demographics, biospecimen metadata, and RNA-seq gene expression

Data sources:

Complete Data Dictionary

Searchable table of all variables available in the CoMMpass dataset with types, categories, and descriptions.

Clinical Data

  • Patient demographics, disease characteristics, and outcomes
  • Downloaded via TCGAbiolinks::GDCquery_clinic()
  • All time/age variables in days (see units reference)

Sample Rows

Summary

  • Total patients: 995
  • Variables: 88
  • Data completeness: 95.8%

Column Structure

Biospecimen Data

  • Tissue samples collected from patients

  • Includes sample type, tissue type, and preservation method

  • Total records: 2,119

  • Variables: 31

RNA-seq Data

  • RNA-seq gene expression generated using the STAR aligner
  • Quantified against GENCODE annotations
  • Available in multiple quantification types (raw counts, TPM, FPKM)
  • See units reference for quantification units

Dimensions

  • Samples: 100
  • Genes: 60,660
  • Assays: unstranded, stranded_first, stranded_second, tpm_unstrand, fpkm_unstrand, fpkm_uq_unstrand

Treatment Data

  • Treatment records extracted from GDC API (7,184 records, 994 patients)
  • Each row = one drug administration for one patient
  • Includes therapeutic agent, line of therapy, and timing

Sample Rows

Column Name Mappings

GDC uses standardized column names. Common aliases used in analysis:

Units Reference

For the complete units reference table (age/time in days, expression quantification types), see the Glossary units reference.

Key rule: All age and time variables are stored in DAYS by GDC. This is the single most common source of errors in GDC analyses.

For exploratory analysis using these variables, see the EDA vignette.

R Code Examples

Loading Data

How to load CoMMpass data from parquet files and query with DuckDB.

Show code
safe_tar_read("code_dd_load_data")

library(coMMpass)

Load clinical data from parquet

clinical <- query_commpass_parquet(“clinical”)

Load with DuckDB lazy evaluation

con <- DBI::dbConnect(duckdb::duckdb()) clinical_tbl <- get_commpass_tbl(“clinical”, con = con) result <- clinical_tbl |> dplyr::filter(gender == “female”) |> dplyr::select(submitter_id, age_at_diagnosis, vital_status) |> dplyr::mutate(age_years = age_at_diagnosis / 365.25) |> dplyr::collect() DBI::dbDisconnect(con, shutdown = TRUE)

Exploring the Dictionary

Programmatic access to variable documentation and metadata.

Show code
safe_tar_read("code_dd_explore_dict")

dd <- get_commpass_data_dictionary()

Find all clinical variables

dplyr::filter(dd, category == “clinical”)

Get detailed docs for a variable

docs <- get_variable_docs(“age_at_diagnosis”) cat(docs$usage_notes)

Data Sources

Results in this vignette are derived from the MMRF CoMMpass study (MMRF-COMMPASS, ~1,143 patients), downloaded via TCGAbiolinks. The pipeline runs with a configurable sample_limit (default 200; CI uses 20).

For full citations, data access tiers, and the distinction between pipeline data and synthetic test data, see the Data Sources vignette.

Recent Changes

Recent project commits with lines added, files changed, and change categories.

Reproducibility

Session Info (click to expand)
Show code
sessionInfo()
#> R version 4.6.1 (2026-06-24)
#> Platform: x86_64-pc-linux-gnu
#> Running under: Ubuntu 26.04 LTS
#> 
#> Matrix products: default
#> BLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 
#> LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.32.so;  LAPACK version 3.12.0
#> 
#> locale:
#>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
#>  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
#>  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
#>  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
#>  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
#> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
#> 
#> time zone: Etc/UTC
#> tzcode source: system (glibc)
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> other attached packages:
#> [1] targets_1.12.0
#> 
#> loaded via a namespace (and not attached):
#>  [1] vctrs_0.7.3       cli_3.6.6         knitr_1.51        rlang_1.3.0      
#>  [5] xfun_0.60         otel_0.2.0        processx_3.9.0    jsonlite_2.0.0   
#>  [9] data.table_1.18.4 glue_1.8.1        prettyunits_1.2.0 DT_0.34.0        
#> [13] buildtools_1.0.0  backports_1.5.1   htmltools_0.5.9   maketools_1.3.2  
#> [17] sys_3.4.3         ps_1.9.3          sass_0.4.10       rmarkdown_2.31   
#> [21] jquerylib_0.1.4   crosstalk_1.2.2   tibble_3.3.1      evaluate_1.0.5   
#> [25] base64url_1.4     fastmap_1.2.0     yaml_2.3.12       lifecycle_1.0.5  
#> [29] compiler_4.6.1    codetools_0.2-20  igraph_2.3.3      htmlwidgets_1.6.4
#> [33] pkgconfig_2.0.3   digest_0.6.39     R6_2.6.1          tidyselect_1.2.1 
#> [37] pillar_1.11.1     callr_3.8.0       magrittr_2.0.5    bslib_0.11.0     
#> [41] withr_3.0.3       tools_4.6.1       secretbase_1.3.0  cachem_1.1.0