Skip to content

CJIVE

0.1.0

Canonical Joint and Individual Variation Explained (CJIVE)

0packages depend
2.7Kdownloads / year
2.3%test coverage
11/13checks pass

Overview

About
Maintained by Raphiel MurdenFirst published 2023-01-201 releasesCRAN page ↗

Joint and Individual Variation Explained (JIVE) is a method for decomposing multiple datasets obtained on the same subjects into shared structure, structure unique to each dataset, and noise. The two most common implementations are R.JIVE, an iterative approach, and AJIVE, which uses principal angle analysis. JIVE estimates subspaces but interpreting these subspaces can be challenging with AJIVE or R.JIVE. We expand upon insights into AJIVE as a canonical correlation analysis (CCA) of principal component scores. This reformulation, which we call CJIVE, 1) provides an ordering of joint components by the degree of correlation between corresponding canonical variables; 2) uses a computationally efficient permutation test for the number of joint components, which provides a p-value for each component; and 3) can be used to predict subject scores for out-of-sample observations. Please cite the following article when utilizing this package: Murden, R., Zhang, Z., Guo, Y., & Risk, B. (2022) doi:10.3389/fnins.2022.969510.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 1.2 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.02
2.3%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 154 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

2.7K
CRAN downloads in the past year
Rank #17,128 · ~7/day · ~223/mo
Daily download trend is not available in this view yet.
21730 days
67890 days
2.7K1 year
Compare downloads with other packages →
Also on100 r2u16 autocran

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 1,296 (62%)Rd 800 (38%)
Code characteristics
Cyclomatic complexity
1.0 median / 12 max
Test cases
3 / 0.02 per code line

Test coverage

Line coverage

2%

Expression

2.4%

Tests / Examples

2.3% / 37% ex

Functions

22 22 exported

Complexity

3.1 avg / 12 max

Call network

22 nodes / 4 edges

Loading call graph…

Lowest coverage

22 functions
FunctionCycloCoverage
AdjSigVarExp exp10%
ConvSims_gg exp50%
GenerateToyData exp90%
GetSimResults_Dir exp30%
Melt.Sim.Cors exp10%
cc.jive exp80%

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2023-01-20
Total releases
1 / 3 yrs
License
MIT + file LICENSE OSI
Download size
25 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →