Category (version 2.38.0)

findAMstats: 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).

Value

A list with components,
eDE
per category sums of the test statistics
lens
row sums of Amat

Details

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

See Also

applyByCategory

Examples

Run this code

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

Run the code above in your browser using DataCamp Workspace