View source: R/feature_louvain_overlap.R
feature_louvain_overlap | R Documentation |
The function calculates how often features or samples occur across all calculated louvain communities
feature_louvain_overlap(overlap_tables, mat)
overlap_tables |
List of tables as returned by |
mat |
The data matrix used as input for the biclustering algorithms. |
List of tables as returned by attr_overlap
,
extended by a column showing how often elements occur across all tables.
# a = data.frame(type=c("row", "row", "row", "column", "column", "column"), # ID=c(1,2,3,1,2,3), Fraction=c(1,1,1,.5, .5, .5)) # b = data.frame(type=c("row", "row", "row", "column", "column", "column"), # ID=c(3,2,4,1,5,3), Fraction=c(1,1,1,.5, .5, .5)) # inl <- list(a, b) # feature_louvain_overlap(outl, matrix(1:100, nrow=10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.