calculate_adjacency: Calculate network adjacencies for filter

Description Usage Arguments Value

View source: R/netboost.R

Description

Calculate network adjacencies for filter

Usage

1
2
calculate_adjacency(datan, filter, soft_power = 2,
  method = c("pearson", "kendall", "spearman"))

Arguments

datan

Data frame were rows correspond to samples and columns to features.

filter

Filter-Matrix as generated by the nb_filter function.

soft_power

Integer. Exponent of the transformation. Set automatically based on the scale free topology criterion if unspecified.

method

A character string specifying the method to be used for correlation coefficients.

Value

Vector with adjacencies for the filter


netboost documentation built on Nov. 8, 2020, 4:58 p.m.