Description Usage Arguments Details Value Author(s) See Also
The MODifieR input object can be used in downstream analysis for the disease module inference methods included in this package.
1 2 3 4 | create_input_microarray(expression_matrix, annotation_table, group1_indici,
group2_indici, group1_label, group2_label, expression = T,
differential_expression = T, method = "MaxMean",
filter_expression = T, use_adjusted = T)
|
expression_matrix |
Normalized expression matrix where the samples are columns and probes are rows |
annotation_table |
A dataframe providing annotation for the probes. The dataframe should have 3 columns:
|
group1_indici |
vector containing indici for samples belonging to group 1 (Column numbers) |
group2_indici |
vector containing indici for samples belonging to group 2 (Column numbers) |
group1_label |
Label for each group 1, for example "patient" or "control" |
group2_label |
Label for each group 2, for example "patient" or "control" |
expression |
boolean, calculate expression values? |
differential_expression |
boolean, calculate differentially expressed data? |
method |
character string for determining which method is used to choose a probe among
exactly 2 corresponding rows or when connectivityBasedCollapsing=FALSE. These are the options:
"MaxMean" (default) or "MinMean" = choose the row with the highest or lowest mean value, respectively.
"maxRowVariance" = choose the row with the highest variance (across the columns of |
filter_expression |
boolean, remove 50 percent of the genes with lowest variance? |
use_adjusted |
boolean, use adjusted p value for differential expression analysis? |
The function creates an input object to be used in all disease module inference methods. Differentially
expressed genes are calculated using linear models from the limma
package. Probes are collapsed into genes
using collapseRows from WGCNA
The function returns an object of class "MODifieR_input". The object is a named list containing the following components:
diff_genes |
A 2 two column data.frame where the first column are genes and the second column unadjusted p-values obtained by differential expression analysis |
limma_probe_table |
A data.frame from |
annotated_exprs_matrix |
A matrix where the rows are genes and the columns samples. Probes have been collapsed
into genes using |
expression_matrix |
A matrix, the original input expression matrix |
annotation_table |
A data.frame, the original annotation table used to annotate the probes |
group_indici |
A named list containing 2 numeric vectors. The names are the group labels and the values are the group indici |
Dirk de Weerd
collapseRows
lmFit
eBayes
topTable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.