findAMstats: Compute per category summary statistics

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/catcode.R

Description

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

Usage

1
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

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

Category documentation built on Nov. 8, 2020, 10:58 p.m.