triangle_creation_score: Triangle creation score

Description Usage Arguments

View source: R/triangle_score.R

Description

Calculate the difference between the proportions of triangles an edge creates in the exposed group versus the control group. This is an alternative to calEdgeCorScore from the ESEA package to use in TESEA.Main.

Usage

1
2
triangle_creation_score(dataset, class.labels, controlcharacter,
  edgesbackground, return_p = TRUE, metric = "angular")

Arguments

dataset

A marix of gene expression data whose row names are genes symbols and whose column names are samples.

class.labels

A vector of binary labels.

controlcharacter

A character string of control sample label.

edgesbackground

A marix which deposits the data of background set of edges.

return_p

Should p value attributes be calculated.

metric

The distance metric to use. Defaults to "angular".


blasern/TESEA documentation built on May 28, 2019, 2:46 p.m.