Learn R Programming

MAMA (version 1.0.2)

Z: Function to compute Z-statistics in contingency table

Description

Function to compute Z-statistics in contingency table as in VennMapper program.

Usage

Z(lists, n.genes)

Arguments

lists
list of vectors. Each vector refers to a method and contains names of significant genes
n.genes
Number of genes in meta-analysis (number of genes on microarray slide)

Value

  • Matrix of Z-statistics as defined in see references.

Details

Simmilar to conting.tab and gene.list, but provides different output

References

Smid, M., Dorssers, L. C. J. and Jenster, G. 2003, Venn Mapping: clustering of heterologous microarray data based on the number of co-occurring differentially expressed genes, Bioinformatics, vol. 19 no. 16 2003

See Also

conting.tab, gene.list

Examples

Run this code
lists<-list(Method1=c("Gene_A", "Gene_V","Gene_S","Gene_C","Gene_U","Gene_D","Gene_E","Gene_G","Gene_W"), 
  Method2=c("Gene_D","Gene_W","Gene_G","Gene_E","Gene_H","Gene_X"),
  Method3=c("Gene_L","Gene_K","Gene_J","Gene_M","Gene_V","Gene_T","Gene_R","Gene_U"))
z<-Z(lists, n.genes=10000)

Run the code above in your browser using DataLab