generate_graph: Build background PPI Network

Description Usage Arguments Examples

Description

generate_graph constructs a node- and edge-weighted PPI network for function dms. This function is generally called by function dms. Typically users do not need to call it.

Usage

1
generate_graph(expr1, expr2 = NULL, network, geneweight)

Arguments

expr1

A data frame containing gene expression data from case samples. The first column is gene identifier (should be coordinate with the node symbol used in PPI

expr2

A data frame containing gene expression data from control samples. The first column should be the same as expr1

network

A data frame containing a symbolic edge list of the PPI network

geneweight

A data frame containing two columns: the first is unique gene identifier (should be coordinate with the node symbol used in PPI); the second is gene-based p-value derived from GWAS

Examples

1
2
3
4
## Not run: 
G<- generate_graph (expr1, expr2, network, geneweight)

## End(Not run)

aaronwolen/dmGWAS2 documentation built on May 10, 2019, 4:04 a.m.