zeroPC: Zero order partial correlation

Description Usage Arguments Value Examples

View source: R/zeroPC.R

Description

The correlation and p-value of correlation.

Usage

1
zeroPC(data.exp, method = "pearson")

Arguments

data.exp

gene expression data.

method

"pearson", "spearman" or "kendall" method is used to calcuate the correlation values.

Value

zeroPC returns a data frame with columns of regulators, target genes, edge correlation weigthes, p-values, FRD and connection probability.

Examples

1
2
3
4
5
6
7
##load data
data(gnwdata)
##ts expression
data.exp<-gnwdata$size100$ts1[,-c(1:3)]
inf.zeroPC<-zeroPC(data.exp)
head(inf.zeroPC)
##refernece network

wyguo/RLowPCor documentation built on May 4, 2019, 12:04 p.m.