pairwise_modes: compute the mode of all sample/column pairs column pairs that...

View source: R/normalize_vwmb.R

pairwise_modesR Documentation

compute the mode of all sample/column pairs column pairs that have less than 10 values in common are skipped (result value left at default 0)

Description

compute the mode of all sample/column pairs column pairs that have less than 10 values in common are skipped (result value left at default 0)

Usage

pairwise_modes(x, min_overlap = 10)

Arguments

x

log-transformed data matrix, where columns are samples and rows are features

min_overlap

minimum number of rows that have a finite foldchange for any given combination of columns (otherwise, mode foldchange is not computed)

Value

a matrix of ncol*ncol pairwise foldchange-modes


ftwkoopmans/msdap documentation built on March 5, 2025, 12:15 a.m.