centdis {DBGSA} | R Documentation |
A function which is used to calculate the distances between case and control group by method of gravity method
centdis(C,num,Meth)
C |
An input matrix which contains the gene profiles |
num |
An integer indicating the number of case group |
Meth |
A character string indicates which method to be used to compute the distances between genes, euclidean and Manhattan are available to choose |
A matrix containing the distances
Li Jin, Huang Meilin