get_term_distance_matrix: get_term_distance_matrix()

Description Usage Arguments Value Examples

Description

Function that returns the distance matrix between all the terms.

Usage

1
get_term_distance_matrix(x, distance_measure, ..., terms_subset = NULL)

Arguments

x

The GeneAnnotations class on which the method will run.

distance_measure

The binary distance method (one of UI, binary, bray-curtis, cosine)

terms_subset

A subset of terms on which to calculate the distance matrix

Value

The distance matrix for the subset if provided or for all the terms otherwise

Examples

1
2
kegg <- TCGAome::load_kegg()
get_term_distance_matrix(kegg, "cosine")

priesgo/TCGAome documentation built on May 25, 2019, 11:26 a.m.