Skip to content

gcpca

0.0.1Package record

Generalized Contrastive Principal Component Analysis

0packages depend
2.1Kdownloads / year
60.2%test coverage
13/13flavors OK

Overview

About

Implements dense and sparse generalized contrastive principal component analysis (gcPCA) with S3 fit objects and methods for prediction, summaries, and plotting. The gcPCA is a hyperparameter-free method for comparing high-dimensional datasets collected under different experimental conditions to reveal low-dimensional patterns enriched in one condition compared to the other. Method details are described in de Oliveira, Garg, Hjerling-Leffler, Batista-Brito, and Sjulson (2025) doi:10.1371/journal.pcbi.1012747.

Install

Health

CRAN checks
13OK
Slowest check: 53 s · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK6 OK2026-04-02
Advisories

none known

Documentation

In release 0.0.1
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
12 (1 internal)includes a package overview page
Examples that run
100%2 run in a plain check
Exported functions with examples
50%
Documented parameters
94%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.1K
CRAN downloads in the past year
Rank #19,732 · ~6/day · ~177/mo
Daily download trend is not available in this view yet.
22330 days
67490 days
2.1K1 year
Compare downloads with other packages →
Also on41 r2u5 autocran

Repository

29Stars
2Forks
0Open issues
0Open PRs
3Releases
144Commits
8Commit identities
contrastivedata-analysisdimensionality-reductionneuroscienceomics-analysis
License file reads as GPL-3.0 · 144 commits · Last activity 2026-03-29 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
124
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-08-06 · 212026-07-10 · 29
PracticesBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/sjulsonlab/generalized_contrastive_pca on 2026-10-22.

Continuous integration (1)
GitHub Actions
Lint, format, editor (2)
VS CodeJetBrains/.idea
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing gcpca adds no packages beyond those that come with R.

Depends (0)
none
Imports (2)
graphicsstats
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.0.1 (2026)
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.0.1Latest
    2026-04-01 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-04-01
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Download size
13 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("gcpca")
de Oliveira, E. (2026). gcpca: Generalized Contrastive Principal Component Analysis (Version 0.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.gcpca

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for gcpca version 0.0.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy