enrichmentEvolution: Resume changes in enrichment for each gene

Description Usage Arguments Value

View source: R/GMSCA.R

Description

This function analyces two networks determining the enrichment of each gene in each network. Both networks must be made from the same set of genes. The list of genes studied can be provided or all of them will be analyzed.

Usage

1
2
enrichmentEvolution(primary.net, secondary.net,
  significanceThreshold = 0.05, genes = NULL, markers.path = ".")

Arguments

primary.net

A GCN created with createGCN

secondary.net

A GCN created with createGCN

significanceThreshold

Max enrichment p-value for a module to be considred as significantly enriched.

genes

The list of gene's IDs to be used

markers.path

Folder containing user-defined lists of genes to be used as marker genes to determine modules' enrichment. This is done using WGCNA::userListEnrichment function, so they must be in a compatible format. Gene IDs must be expresed using the same format as in the networks.

Value

A data frame showing a row for each gene and the module and enrichment of that gene in both networks. When the module is not enriched a - is shonw. When is enriched by more than a type, they are shown as a list.


drlaguna/GPCNA documentation built on Sept. 22, 2020, 11:47 p.m.