gelMatrix | R Documentation |
Generate a matrix of p-values ("orig"), p-values forced to a uniform distribution ("unif"), or correlations ("cor").
gelMatrix(x, phen = NULL, z = NULL, squared = FALSE, partial = FALSE, output = "unif")
x |
A matrix of dimensions (n_features, n_samples) |
phen |
A phenotypic trait matrix of dimensions (n_features, n_samples) |
z |
A covariate matrix of dimensions (n_cov, n_smaples) |
squared |
Square correlations to ignore their sign |
partial |
Generate a partial correlation matrix |
output |
The type of matrix to be calculated ("unif", "orig", "cor") |
A matrix of dimensions (n_phen + n_feat, n_phen + n_feat)
Anooj Arkatkar
data(foldChange) gm <- gelMatrix(foldChange)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.