symbols2indices: Convert Gene Set Symbols to Indices

Description Usage Arguments Details Value Author(s) See Also

Description

Make a list of gene set symbols into a list of gene sets indices.

Usage

1
symbols2indices(gene.sets, symbols, remove.empty=TRUE)

Arguments

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?

Details

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.

Value

list of integer vectors, each vector containing the indices of a gene set in the vector symbols.

Author(s)

Gordon Smyth and Yifang Hu

See Also

romer, mroast, camera


richierocks/limma2 documentation built on May 27, 2019, 8:47 a.m.