Learn R Programming

DBGSA (version 1.2)

valuep: function which computes p values from different phenotypes by distance matrix

Description

this function is used to compute the p values from two matrixes which has been calculated before

Usage

valuep(MM,N,pname)

Arguments

MM
a matrix of gene phenotype distances which is generated before by the specific formula
N
a matrix of gene phenotype distances which is generated before randomly by gene resampling
pname
character string which represents the name of the output file

Value

A named matrix of p values and fdr p values.

Examples

Run this code
## Not run: 
# library(fdrtool)
# data(distance)
# data(rand)
# ##compute the required p values
# valuep(distance,rand,"valuep.txt")
# ## End(Not run)

Run the code above in your browser using DataLab