Description Usage Arguments Value Author(s) References Examples
Function MAPmatrix
summarizes a binary matrix. It treats each row as Meta-Analysis Pattern and looks for count of observed soft and strong matches.
1 | MAPmatrix(value.dis)
|
value.dis |
A binary matrix with rows refering to genes and columns to microarray studies. |
A matrix with rows corresponding to MAP patterns and four columns: unique patterns that are being observed in the data (uniqe.pat
), number of observed soft matches with the pattern (n.soft
), number of observed strong matches (n.strong
) and number of $1$'s in the pattern n.sig
)
Ivana Ihnatova
Yang, X., Bentink, S. a Spang, R., Detecting Common Gene Expression Patterns in Multiple Cancer Outcome Entities, Biomedical Microdevices, Vol.7:3, 2005
1 2 3 4 5 6 7 8 9 10 11 12 | ## The function is currently defined as
function(value.dis)
{
res<-ratio(value.dis)
unique.pat <- unique(results$X.string)
n.soft <- patternMatch(value.dis,unique.pat)
n.strong <- patternMatch.strong(value.dis,unique.pat)
unique.X <- patternmatrix(unique.pat,ncol(value.dis))
n.sig <- apply(unique.X,1,sum)
mat<-data.frame(unique.pat, n.soft, n.strong,n.sig)
return(mat)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.