score: Program Scores

Description Usage Arguments Value

View source: R/utils-score.R

Description

Program Scores

Usage

1
score(mat, programs, center = TRUE, center.rowWise = TRUE)

Arguments

mat

a matrix of gene expression data (cells by genes)

programs

either a single or a list of character vectors (genes). Each vector is a program.

center

if TRUE, the resulting score matrix is centered.

center.rowWise

if TRUE, centering will be performed row-wise. Else, centering by column.

Value

list (if many=F) or matrix (if many=T) of program scores


jlaffy/statistrics documentation built on May 23, 2019, 4:04 a.m.