mle.getPatientSimilarity: Patient similarity using mutual information MLE metric of...

Description Usage Arguments Examples

View source: R/mle.getPatientSimilarity.r

Description

This function calculates the universal distance between patients, using a mutual information metric, where self-information comes from the minimum encoding length of each patient's encoded modular perturbations in the background knowledge graph.

Usage

1
mle.getPatientSimilarity(ig, path, data.pvals, patient1, patient2)

Arguments

ig

- An igraph object of the background knowledge graph.

path

- The filepath to a directory of the stored patient-specific RData files.

data.pvals

- The matrix that gives the perturbation strenght significance for all variables (columns) for each patient (rows)

patient1

- The row name in data.pvals corresponding to the first patient in the pair of patients being compared.

patient2

- The row name in data.pvals corresponding to the second patient in the pair of patients being compared.

Examples

1
mle.getPatientSimilarity(ig, path, data.pvals, patient1, patient2)

lashmore/MolEndoMatch documentation built on May 5, 2019, 8:02 p.m.