Learn R Programming

SISPA (version 1.2.2)

callGSVA: GSVA enrichment analysis

Description

Estimates GSVA enrichment zscores.

Usage

callGSVA(x,y)

Arguments

x
A data frame or matrix of gene or probe expression values where rows corrospond to genes and columns corrospond to samples
y
A list of genes as data frame or vector

Value

A gene-set by sample matrix of GSVA enrichment zscores.

Details

This function uses "zscore" gene-set enrichment method in the estimation of gene-set enrichment scores per sample.

See Also

GSVA

Examples

Run this code
g <- 10 ## number of genes
s <- 30 ## number of samples
## sample data matrix with values ranging from 1 to 10
rnames <- paste("g", 1:g, sep="")
cnames <- paste("s", 1:s, sep="")
expr <- matrix(sample.int(10, size = g*s, replace = TRUE), nrow=g, ncol=s, dimnames=list(rnames, cnames))
## genes of interest
genes <- data.frame(paste("g", 1:6, sep=""))
## Estimates GSVA enrichment zscores.
callGSVA(expr,genes)

Run the code above in your browser using DataLab