build.submatrix: Build submatrix

Description Usage Arguments Value Examples

View source: R/annotation.utility.R

Description

Terms having less than n annotations are pruned. Terms having exactly n annotations are discarded as well.

Usage

1

Arguments

ann

the annotation matrix (0/1). Rows are examples and columns are functional terms.

n

an integer number representing the number of annotations to be pruned.

Value

An annotation matrix having only those terms with more than n annotations.

Examples

1
2
data(labels);
subm <- build.submatrix(L,5);

HEMDAG documentation built on Feb. 12, 2021, 5:13 p.m.