ImportanceVal: Importance Values (IV) of diversity metrics

Description Usage Arguments Value

View source: R/ImportanceVal_function.R

Description

Importance Values (IV) of diversity metrics

Usage

1
ImportanceVal(matrix.M, scale = TRUE, method = "max", stopRule = TRUE)

Arguments

matrix.M

Matrix containing diversity metrics (columns) values for each sample (lines)

scale

Logical. If TRUE (default) the diversity metrics are scaled for maximun values of each metric

method

Method used to scale matrix M, default is scaling each diversity metric by their maximmun value

stopRule

Logical. If TRUE (default) a stop rule are used to select only the axis of the PCA that matched the rule (Kaiser-Gutmann criterion)

Value

A list of length 3 containing: 1- The IV for each diversity metric (IV.obs_stopRule if stopRule = TRUE) 2- The proportion of variation accounted by each metric in each axis 3- The correlation (Pearson) among all metrics


GabrielNakamura/Dimensionality_package documentation built on Dec. 17, 2021, 9:27 p.m.