powered by
Terms having less than n annotations are pruned. Terms having exactly n annotations are discarded as well.
do.submatrix(ann, n)
the annotations matrix (0/1). Rows are examples and columns are classes
integer number of annotations to be pruned
Matrix of annotations having only those terms with more than n annotations
# NOT RUN { data(labels); subm <- do.submatrix(L,5); # }
Run the code above in your browser using DataLab