weitrix_randomize: Generate a random normally distributed version of a weitrix

View source: R/randomize.R

weitrix_randomizeR Documentation

Generate a random normally distributed version of a weitrix

Description

Values are generated with variance equal to 1/weight. This can be used to see what R-squared would be achieved with purely random data, and therefore an appropriate number of components to use. This is known as Parallel Analysis.

Usage

weitrix_randomize(weitrix)

Arguments

weitrix

A weitrix object, or an object that can be converted to a weitrix with as_weitrix.

Value

A SummarizedExperiment object with metadata fields marking it as a weitrix.

See Also

components_seq_screeplot

Examples

weitrix_randomize(simwei)


pfh/weitrix documentation built on Oct. 13, 2023, 1:01 p.m.