valuep {DBGSA}R Documentation

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.

Author(s)

Li Jin, Huang Meilin

Examples

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

## End(Not run)

[Package DBGSA version 1.2 Index]