An immutable S7 class for storing project-level metadata for a study. Study objects provide high-level context and configuration for cohorts and analyses, for any organism and any omics assay.
Arguments
- study_id
Character scalar for study identifier. Unique within a project.
- title
Character scalar for study name/title.
- description
Character scalar for longer description of study purpose, design, or protocols. Optional.
- hypotheses
Character vector of research hypotheses. Accepts multiple hypotheses. Optional.
- aims
Character vector of specific research aims. Accepts multiple aims. Optional.
- assays
Character vector of assay types used (e.g., "wes", "scrna"). Optional.
- genome_builds
Named list mapping species to genome build versions, e.g.
list(rat = "rn7", mouse = "mm39", human = "hg38"). Any species name and any build string are accepted. Optional.- created_at
POSIXct timestamp for creation. Defaults to the time the object is built.
Character vector of arbitrary tags for categorization. Optional.
Details
Use study_new() to construct Study objects with immediate validation.
Construction also validates study_id and title directly, so building a
Study any other way still enforces the two required fields.
Access properties via the @ operator:
study@study_id
study@title
study@description
study@hypotheses
study@aims
study@assays
study@genome_builds
study@created_at
study@tagsSee also
study_new() for object construction,
Cohort for combining studies with subject data