Description Usage Arguments Details Value Author(s) See Also Examples
Converts a GMT file so that symbols match rownames of X.
1 2 3 4 5 6 | ## S4 method for signature 'gsagenesets,matrix,character'
gsaTranslateGmt(gmt, X, genes)
## S4 method for signature 'gsagenesets,ExpressionSet,character'
gsaTranslateGmt(gmt, X, genes)
## S4 method for signature 'gsagenesets,data.frame,character'
gsaTranslateGmt(gmt, X, genes)
|
gmt |
An object of class |
X |
An object of class |
genes |
An |
Can be used to translate gene sets, for example from official gene symbols to manufacturer probe ids.
An object of class gsagenesets
.
Markus Riester markus@jimmy.harvard.edu, Levi Waldron lwaldron@hsph.harvard.edu, Christoph Bernau bernau@ibe.med.uni-muenchen.de
1 2 3 4 5 6 7 8 9 10 11 | library(survHD)
library(survHDExtra)
library(hu6800.db)
library(annotate)
data(beer.exprs)
data(beer.survival)
gmt <- gsaReadGmt(system.file("extdata/ovarian_gene_signatures.gmt", package = "survHD"))
# the Gmt file contains gene symbols, so we translate it to Affymetrix
genes <- getSYMBOL(rownames(beer.exprs), "hu6800")
gmt.affy <- gsaTranslateGmt(gmt, beer.exprs, genes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.