filterCommunityAssign: Filter Louvain community assignemnts

Description Usage Arguments Value Author(s)

View source: R/functions.R

Description

This function removes communities from the sparse matrix that have a minimum number of gene members

Usage

1
filterCommunityAssign(results, nRuns=NULL, minMem=10, maxMem=NULL)

Arguments

results

Data frame containing the community assignments for each genes and contains nRuns+1 columns. The first column contains an integer referencing the GeneMeta ID

nRuns

Number of runs used in the Louvain community assignment. Default is to calculate from results table.

minMem

Minimum number of genes in a community to be considered significant. Default = 10

maxMem

Maximum number of genes in a community to be considered significant. Default = NULL

Value

Returns a sparse matrix containing to occurance of each gene in each community. 1 = present and 0 = absent

Author(s)

Matthew Zinkgraf, [email protected]


mzinkgraf/fastOC documentation built on Aug. 15, 2018, 11:17 p.m.