Description Usage Arguments Value Author(s) Examples
A function which is used to generate the required number of gene expression profiles by permutation called gene resampling
1 | randdis(z,minigenenum,randnum,setdis,normnum,Meth,resultname)
|
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 |
A text containing the distances only.
Li Jin, Huang Meilin
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.