View source: R/triangle_score.R
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
.
1 2 | triangle_creation_score(dataset, class.labels, controlcharacter,
edgesbackground, return_p = TRUE, metric = "angular")
|
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". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.