build_signature_overlap_matrix: Signature overlap matrix construction

View source: R/process_signature.R

build_signature_overlap_matrixR Documentation

Signature overlap matrix construction

Description

Converts the list of odds ratios in the signature overlap tests into a symmetric matrix.

Usage

build_signature_overlap_matrix(selected_signatures, odds_ratios)

Arguments

selected_signatures

a vector storing names of selected signatures.

odds_ratios

a list of odds ratios obtained from the function test_signature_overlap()

Value

a symmetric matrix storing the odds ratios in the signature overlap tests between every possible signature pair. The diagonal is set to Inf because a signature always has perfect overlap with itself.


greenelab/ADAGEpath documentation built on May 25, 2022, 7:11 a.m.