feature_louvain_overlap: Overlap of features/samples in different louvain communities

View source: R/feature_louvain_overlap.R

feature_louvain_overlapR Documentation

Overlap of features/samples in different louvain communities

Description

The function calculates how often features or samples occur across all calculated louvain communities

Usage

feature_louvain_overlap(overlap_tables, mat)

Arguments

overlap_tables

List of tables as returned by attr_overlap.

mat

The data matrix used as input for the biclustering algorithms.

Value

List of tables as returned by attr_overlap, extended by a column showing how often elements occur across all tables.

Examples

# 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))


tdrose/mosbi documentation built on May 4, 2022, 3:22 p.m.