match_mats: Expand kernel to match features in object and pathway matrix

Description Usage Arguments Details Value

View source: R/match_mats.R

Description

Expand kernel to match features in both object and pathway matrix, so that maintain these features in pants.

Usage

1
match_mats(score.mat, ker, Gmat, score.impute = 0)

Arguments

score.mat

A matrix-like object with scores from original data and possibly permutations with rows corresponding to features and columns to simulations.

ker

Laplacian kernel matrix representing the interaction network.

Gmat

Binary feature (e.g. gene) by pathway inclusion matrix, indicating which features are in which pathways.

score.impute

Value to impute missing scores. If zero, score.mat is sparser, saving computing time.

Details

There must be some overlap between the rownames of score.mat, ker, & Gmat.

Value

List with elements score.mat, ker, and Gmat after matching.


jdreyf/PANTS documentation built on July 18, 2019, 10:12 a.m.