Description Usage Arguments Value Examples
comEigenGene
computes eigen genes/microRNAs from each module detected in co-expression network, and then computes a P-value from the correlation of eigem gene/microRNA expression and phenotypes.
1 2 3 4 5 6 7 8 | comEigenGene(
data,
pheno,
moduleList,
type = "eigen",
test = "categorical",
pc = 1
)
|
data |
A matrix, the normalized gene/microRNA expression dataset, should be a numeric matrix, with rows referring to genes/microRNAs and columns to samples. |
pheno |
A vector of sample phenotypes. Sample phenotype in a scientific research could be categorical (treatment/control), or continuous (age). If you have multiple phenotypes, use a list with names denoting the corresponding phenotype. |
moduleList |
A list, entries are vectors of genes/microRNAs in detected modules. |
type |
A string, denoting the type of summarization of expression of genes/microRNAs, 'egein' for principal component analysis, 'average' for an average of gene/microRNA expression, default to 'eigen'. |
test |
A string, 'categorical' if sample phenotype if categorical, 'continuous' if sample phenotype is continuous, default to 'categorical'. |
pc |
Numeric, the number of principal components you want to show in the figure, default to 1. |
A list with P-values as well as detected eigen genes/microRNAs from each module.
1 | comEigenGene(data.norm, pheno.v, modules.l, type = 'eigen', test = 'categorical')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.