Description Usage Arguments Value
View source: R/druid_geneset.R
This function generates the query gene set that is to be used as input into DRUID.
1 2 | druid_geneset(dge_matrix, desired_effect = c("pos", "neg"), fold_thr,
pvalue_thr, entrez, gene_space)
|
dge_matrix |
This is a 2 column matrix for gene expression changes, where column 1 is the gene fold change and column 2 is the corresponding p-value for the fold change. NOTE: Use log2 of the fold changes as output, for example, from 'limma' or 'DESeq2'. |
desired_effect |
Desired effect for DRUID to run on: "pos" mimics query phenotype, "neg" reverts query phenotype. Defaults to "neg". |
fold_thr |
Threshold for the fold change to be considered. Defaults to 0 (i.e., log2(1), where fold change is not used as filter) |
pvalue_thr |
Threshold for the p-value of the fold change to be considered. Defaults to 0.05. |
entrez |
EntrezIDs for genes in differentially expressed set. Must be same order as the input matrix. |
gene_space |
EntrezIDs from TF.IDF matrix (column names of this matrix). |
A gene set to be used as input in DRUID as a Nx4 matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.