gsScore: Calculate score across genes and samples

View source: R/gsScore.R

gsScoreR Documentation

Calculate score across genes and samples

Description

This wrapper function combines filtering out genes with low reads in a number of samples (recommended for limma:voom) with normalization

Usage

gsScore(dat, gset, fun = "PC")

Arguments

dat

normalized count matrix; rows are all genes in the signature that shall be summarized into one score; columns are samples

gset

Gene sets.

fun

("PC", default), Pearson, ssGSEA or mean (other value). fisher, stouffer

Value

numeric vector or matrix.

Author(s)

Wubing Zhang


WubingZhang/rMAUPS documentation built on March 21, 2022, 8:48 p.m.