Description Usage Arguments Details Value Author(s) See Also
Make a list of gene set symbols into a list of gene sets indices.
1 | symbols2indices(gene.sets, symbols, remove.empty=TRUE)
|
gene.sets |
list of character vectors, each vector containing the symbols for a set of genes. |
symbols |
character vector of gene symbols. |
remove.empty |
logical, should sets of size zero be removed from the output? |
This function used to create input for romer
function.
Typically, symbols
is the vector of symbols of genes on a microarray, and gene.sets
is obtained constructed from a database of gene sets, for example a representation of the Molecular Signatures Database (MSigDB) downloaded from http://bioinf.wehi.edu.au/software/MSigDB.
list of integer vectors, each vector containing the indices of a gene set in the vector symbols
.
Gordon Smyth and Yifang Hu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.