flash_get_pve: Get PVE from a flash object

View source: R/get_functions.R

flash_get_pveR Documentation

Get PVE from a flash object

Description

Returns the factor contributions (proportion of variance explained) for each factor/loading combination in flash fit f. Because the factors are not required to be orthogonal, this should be interpreted loosely: e.g., PVE could total more than 1.

Usage

flash_get_pve(data, f, drop_zero_factors = TRUE)

Arguments

data

Describe this input argument here.

f

A flash fit object.

drop_zero_factors

If TRUE, then any factor/loadings that are zero will be removed.


stephenslab/flashr2 documentation built on Feb. 6, 2024, 5:21 a.m.