patternMatch: Function to count soft pattern matches
Description
Funtion counts number of observed soft matches in meta-analysis
Usage
patternMatch(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 soft 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
## The function is currently defined asA<-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(A,uni)