randdis: Randomly generating some gene expression profiles by gene...

Description Usage Arguments Value Author(s) Examples

Description

A function which is used to generate the required number of gene expression profiles by permutation called gene resampling

Usage

1
          randdis(z,minigenenum,randnum,setdis,normnum,Meth,resultname)

Arguments

z

An input matrix which contains the gene profiles

minigenenum

An integer indicating the number of gene to be permutated, the number of it has to be larger than the gene number that any gene function label has.

randnum

An integer represents the number of permutation

setdis

a character string indicating which method is to be used to compute the distances between case group and control group, avelinkdis or centdis is the choice to choose

normnum

an integer indecating the number of the case group

Meth

A character string indicates which method to be used to compute the distances between genes, euclidean and Manhattan is available to choose

resultname

character string which represents the name of the output file

Value

A text containing the distances only.

Author(s)

Li Jin, Huang Meilin

Examples

1
2
3
4
5
6
## Not run: 
data(afExp)
##Randomly generating the gene expression profile and save it in the text named rand 
randdis(afExp,500,10,avelinkdis,10,"euclidean","rand.txt")
  
## End(Not run)

DBGSA documentation built on May 2, 2019, 1:19 p.m.