Learn R Programming

MAMA (version 1.0.2)

patternMatch.strong: Function to count strong pattern matches

Description

Funtion counts number of observed strong matches in meta-analysis

Usage

patternMatch.strong(X.discret, unique.pat)

Arguments

X.discret
Binary matrix, with rows corresponding to genes, columns to studies and 1 to selected (significant) genes in studies
unique.pat
Vector of binary strings - patterns

Value

  • Numeric vector of number of strong pattern matches for each pattern.

References

Yang, X., Bentink, S. a Spang, R. 2005, Detecting Common Gene Expression Patterns in Multiple Cancer Outcome Entities, Biomedical Microdevices, vol.7:3

Examples

Run this code
A<-matrix(c(1,0,0,1,0,1,0,1,1,0,1,0,1,0,1), ncol=3, nrow=10)
uni<-c("011","101","110","111")
patternMatch.strong(A,uni)

Run the code above in your browser using DataLab