Learn R Programming

mlDNA (version 1.1)

ConvergenceDegree: Calculating covergence degree

Description

This function calculates the covergence degree between two sets of elements, and has been used to estimate the degree of covergence between genes responsive to different stresses in Arabidopsis (Ma and Wang, 2013)

Usage

ConvergenceDegree( vec1, vec2 )

Arguments

vec1
a vector recording a set of elements for one condition.
vec2
a vector recording a set of elements for the other condition.

Value

value
an numeric value

References

[1] Chuang Ma, Xiangfeng Wang. Machine learning-based differential network analysis: a study of stress-responsive transcriptomes in Arabidopsis thaliana. 2013(Submitted).

Examples

Run this code
   vec1 <- c(1, 2, 4, 10)
   vec2 <- c(1, 10, 15:20)
   ConvergenceDegree( vec1, vec2 )

Run the code above in your browser using DataLab