Description Usage Arguments Value Examples
Reshap an expression matrix to the format required by WGCNA
1 | expression_reshape(mat, log = FALSE, zero_neg = FALSE)
|
mat |
A numeric expression matrix |
log |
A logical (default, FALSE) to take the log matrix |
zero_neg |
A logical (default, FALSE) to zero all negative values |
A list with one data.frame item, data contains the transposed matrix. This is the genes in column and samples in rows
1 2 3 4 5 6 | library(Biobase)
data(sample.ExpressionSet)
mat <- exprs(sample.ExpressionSet)
expression_reshape(mat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.