View source: R/filter_biclusters.R
filter_biclusters | R Documentation |
If the function returns True
, the bicluster is added to the output
list of biclusters.
Every bicluster is validated, before forwarding to the filter-function.
filter_biclusters(bics, mat, filterfun, ...)
bics |
A list of valid bicluster objects. |
mat |
Original matrix, that was used for biclustering. |
filterfun |
A function to filter biclusters. Only if the function
returns |
... |
Other parameters forwarded to the |
A filtered list ob bicluster objects with length(returned_list)<=length(bics).
# m <- matrix(runif(100), nrow=10) b <- list(bicluster(row=c(3,4), column=c(3,4)), bicluster(row=c(3,4,5,6), column=c(3,4,5,6)), bicluster(row=c(3,4,5,6), column=c(3,6))) # filter_biclusters(b, m, function(x) sum(x) < 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.