ajive: ajive: Angle based Joint and Individual Variation Explained.

Description Usage Arguments Value Foo functions Examples

View source: R/ajive_decomposition.R

Description

The ajive package provides functions to do: foo, bar and baz.

Computes the JIVE decomposition.

Usage

1
ajive(blocks, initial_signal_ranks, full = TRUE)

Arguments

blocks

List. A list of the data matrices.

initial_signal_ranks

Vector. The initial signal rank estimates.

full

Boolean. Whether or not to store the full J, I, E matrices or just their SVDs (set to FALSE to save memory).

Value

The JIVE decomposition.

Foo functions

The foo functions ...

Examples

1
2
3
4
5
6
7
8
blocks <- sample_toy_data(n=200, dx=100, dy=500)
initial_signal_ranks <- c(2, 2)
jive_decomp <- ajive(blocks, initial_signal_ranks)

joint_scores <- jive_decomp[['joint_scores']]
J_1 <- jive_decomp[[1]][['joint']][['full']]
U_individual_2 <- jive_decomp[[2]][['individual']][['u']]
individual_rank_2 <- jive_decomp[[2]][['individual']][['rank']]

idc9/r_jive documentation built on Sept. 9, 2017, 7:20 p.m.