gseaFingerprint | R Documentation |
gseaFingerprint
extracts pathway fingerprints from the result of one
GSEA result. gseaFingerprintMatrix
extracts multiple signatures and
organizes into the form of rectangular matrix.
gseaFingerprint(
gseaDir,
value = c("q", "es", "nes"),
threshold = 1e-04,
sortByName = TRUE
)
gseaFingerprintMatrix(gseaDirs, value = c("q", "es", "nes"), ...)
gseaDir |
Character, a GSEA output directory. Notice the directory must be accessible by the R session. A common mistake is to use a relative path which cannot be found. |
value |
Character, the statistic to extract, currently supporting
|
threshold |
Numeric, minimum threshold of q-value, passed to
|
sortByName |
Logical, whether signatures should be sorted by name |
gseaDirs |
Character vector, GSEA output directories |
... |
Parameters passed to |
gseaFingerprint
extracts pathway signature from one GSEA output
directory. While gseaFingerprintMatrix
simultaneously extracts from
more than one GSEA output directories, and organizes pathway signatures in a
rectangular matrix form.
gseaFingerprintMatrix
takes care of signature mapping between
different GSEA result sets.
gseaFingerprint
returns a data.frame
with two columns
name
and value
, recording gene signature (pathway) names and
the statistic chosen by the user.
gseaFingerprintMatrix
returns a matrix
, with the union set of
gene signatures from all GSEA output result sets as rows, and GSEA result
names as columns.
Jitao David Zhang <jitao_david.zhang@roche.com>
See gseaQvalue
and gseaES
for how to choose the
statistic to produce pathway signatures.
gseaDirZip <- system.file(package="ribiosGSEA","extdata/gseaDirs.zip")
tmpDir <- tempdir()
utils::unzip(gseaDirZip, exdir=tmpDir)
gseaDir <- file.path(tmpDir, "gseaDirs")
gseaDirs <- dir(gseaDir, full.names=TRUE)
gseaFp <- gseaFingerprint(gseaDirs[1], value="q")
gseaFps <- gseaFingerprintMatrix(gseaDirs, value="q")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.