random_direction_cutoff: Random direction association plot coordinates

View source: R/apl.R

random_direction_cutoffR Documentation

Random direction association plot coordinates

Description

Calculates matrix of apl coordinates for random directions

Usage

random_direction_cutoff(caobj, dims = caobj@dims, reps = 100)

Arguments

caobj

A "cacomp" object with principal row coordinates and standardized column coordinates calculated.

dims

Integer. Number of CA dimensions to retain. Needs to be the same as in caobj!

reps

Integer. Number of permutations to perform.

Value

List with permuted apl coordinates ("apl_perm") and, a list of saved ca components ("saved_ca") that allow for quick recomputation of the CA results. For random_direction_cutoff this saved_ca is empty.


VingronLab/APL documentation built on Nov. 9, 2024, 5:33 p.m.