View source: R/annotation.utility.R
build.submatrix | R Documentation |
Terms having less than n annotations are pruned. Terms having exactly n annotations are discarded as well.
build.submatrix(ann, n)
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. |
An annotation matrix having only those terms with more than n annotations.
data(labels);
subm <- build.submatrix(L,5);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.