PWsim: Calculate similarity measure for every pair of PWs

View source: R/PWsim.R

PWsimR Documentation

Calculate similarity measure for every pair of PWs

Description

Calculate similarity measure for every pair of PWs

Usage

PWsim(dichotP, test = c("phi", "binary")[1])

Arguments

dichotP

MetaGSAR p-value matrix for n PWs across k datasets.

test

Choice of similarity measure over two binary vectors. For binary, it uses 1-dist(...,method='binary')

Value

A data frame for all possible pathway paris [n*(n-1)/2]. 1st & 2nd cols: the two vertices comprising an edge. 3rd col: edge connection strength. It is full connection still.


hui-sheen/MetaGSCA documentation built on April 9, 2022, 7:24 p.m.