findAMstats: Compute per category summary statistics

View source: R/catcode.R

findAMstatsR Documentation

Compute per category summary statistics

Description

For a given incidence matrix, Amat, compute some per category statistics.

Usage

findAMstats(Amat, tstats)

Arguments

Amat

An incidence matrix, with categories as the rows and probes as the columns.

tstats

A vector of per probe test statistics (should be the same length as ncol(Amat).

Details

Simple summary statistics are computed, such as the row sums and the vector of per category sums of the test statistics, tstats.

Value

A list with components,

eDE

per category sums of the test statistics

lens

row sums of Amat

Author(s)

R. Gentleman

See Also

applyByCategory

Examples


 ts = rnorm(100)
 Am = matrix(sample(c(0,1), 1000, replace=TRUE), ncol=100)
 findAMstats(Am, ts)

Bioconductor/Category documentation built on Nov. 2, 2024, 6:33 a.m.