Magnify.binary.features.norm-methods | R Documentation |
Normalization of binary matrices according to the procedure described in Mostafavi et al. 2008. Having a binary matrix M, for each feature, if b is the proportion of 1, then ones are replaced with -log(b) and zeros with log(1-b).
Magnify.binary.features.norm(M)
M |
an object representing the matrix to be normalized |
The normalized matrix
signature(M = "matrix")
Input binary matrix. Rows are examples, columns features
Mostafavi, S., Ray, D., Warde-Farley, D., Grouios, C., & Morris, Q. GeneMANIA: a real-time multiple association network integration algorithm for predicting gene function. Genome Biology, 9, 2008.
D <- matrix(ifelse(runif(40000)>0.9,1,0),nrow=100); M <- Magnify.binary.features.norm(D);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.