Cohort Objects for Subjects and Samples in Omics Studies
Overview
Keeps the subjects, samples, and analysis outputs of a study in one validated object. It starts from a sample manifest with one row per sample, which is read, checked, and split into a subject table and a sample map. Species and assay are plain values in those tables rather than fixed types, so the same object serves any organism and any omics assay. From that object the package writes the sample sheet a pipeline expects, pairs tumor and normal samples on demand, and records where each analysis writes its output so the files can be loaded back in by subject or by pair. Manual corrections are kept in an audit trail. Results can also be translated across genome builds or species, with liftover for coordinates and ortholog mapping for genes.
Resubmission to CRAN. The package code is unchanged from 0.1.0; every change
is in the documentation and the repository.
?biocohortnames the three articles asvignette()calls instead of linking to them by a relative path that only exists on the website, and the package README links to the contributing guide by its full URL. CRAN's pretest rejected 0.1.0 for both links.- The
liftover_rtracklayer()example is wrapped in\donttest{}. Loadingrtracklayeralone takes longer than the five seconds CRAN allows an example. - The
Descriptionfield is rewritten in plainer sentences. - New examples for
translate()on a cohort,translation_report(),load_analyses(),cohort_read(),register_liftover_backend(),register_ortholog_backend(),liftover_vcf(), and theStudy,Subject,Cohort,AnalysisSpec, andTranslationResultconstructors. Thetranslation_report()example was a comment before, not code.
Show all changes in 0.1.1Hide the rest of the changes in 0.1.1
- Help pages that still pointed to
orthologize()now point totranslate(). citation("biocohort")includes the Zenodo DOI.- README: install from r-universe as well as GitHub.
- CI: a
cranworkflow runs the check the way CRAN's pretest does.
From NEWS.md in the release
Install
Health
- OK13 OKNow
- OK7 OK2026-09-19
Documentation
- Help pages
- 65includes a package overview page
- Examples that run
- 97%61 run in a plain check (1 of them under a condition) · 1 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
- Exported functions with examples
- 98%
- Documented parameters
- 95%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- Get started with biocohort HTML
- Glossary HTML
- Naming conventions HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- 0
Issues over time
PRs over time
Commits over time
17 development-tooling and community-health practices detected across 8 families in the upstream repository
Checks run against github.com/samuelbharti/biocohort on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows
GitHub Pages site last deployed 2026-09-29 · The repository has a site deploy workflow
pkgdown site last built 2026-09-29
Show all practicesHide 4 practices
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2026-02-05Seen in the repository: .github/instructionsPull request: opened by its own accountCommits: 8 by its own account
- Claude Codefirst seen 2026-09-07Named in .gitignore: .claude
Dependencies
Code & Tests
Datasets
People & History
- 0.1.1Latest2026-09-18 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-09-18
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1
- Bundled data
- 20 KB / 1 file
- Download size
- 226 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("biocohort")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.5281/zenodo.22685057.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.