Learn R Programming

DBGSA (version 1.2)

avelinkdis: Computing the distance by group average method

Description

A function which is used to calculate the distances between case and control group by method of group average method

Usage

avelinkdis(C,num,Meth)

Arguments

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

Value

A matrix containing the distances