estimate_template_from_DR {templateICAr}R Documentation

Estimate template from DR

Description

Estimate variance decomposition and templates from DR estimates.

Usage

estimate_template_from_DR(DR, LV = NULL)

Arguments

DR

the test/retest dual regression estimates, as an array with dimensions M×N×(L×V)M \times N \times (L \times V), where MM is the number of visits (2), NN is the number of subjects, LL is the number of IC networks, and VV is the number of data locations.

(LL and VV are collapsed because they are treated equivalently in the context of calculating the variance decomposition and templates).

LV

A length-two integer vector giving the dimensions LL and VV to reshape the result. Default: NULL (do not reshape the result).

Value

List of two elements: the templates and the variance decomposition.

There are two version of the variance template: varUB gives the unbiased variance estimate, and varNN gives the upwardly-biased non-negative variance estimate. Values in varUB will need to be clamped above zero before using in templateICA.


[Package templateICAr version 0.6.4 Index]