Learn R Programming

momr (version 1.1)

connectivity: connectivity

Description

This function computes the intra-row correlation and applied a threshold to compute the connections of each row. A connectivity vector is returned.

Usage

connectivity(prof, method = "pearson", th = 0, soft = FALSE)

Arguments

prof
: a profile matrix. This data is used to compute correlations.
method
: the correlation method, default = pearson.
th
: default 0, if >0 than this threshold will be applied to compute a hard threholded connectivity.
soft
: default = FALSE, if TRUE and when th > 0, the connectivity is computed as the soft threholded, sum of correlations above the threshold

Value

a vector of connectivity

Details

connectivity