checkUserEdges: Check user edgelist for errors

Description Usage Arguments Details Value Author(s) References See Also

Description

Read in user edgelist as data.table and check the column formatting and check for conflicting information. This is a helper function in prepareAdjMat and should not be called by the user.

Usage

1

Arguments

edgelist

File path to user specified edgelist. Read in with data.table::fread

non_edges

File path to user specified non-edgelist. Read in with data.table::fread

Details

This function checks to make sure there is the correct number of columns specified in the edgeslist (4 or 5). It also checks for non-numeric values and to see if there is inconsistent information such as an edge specified in the non-edgelist and the edgelist.

Value

A list with components

user_edges

A data.table of the user specified edges

user_non_edges

A data.table of the user specified non-edges

Author(s)

Michael Hellstern

References

Ma, J., Shojaie, A. & Michailidis, G. (2016) Network-based pathway enrichment analysis with incomplete network information. Bioinformatics 32(20):165–3174.

See Also

prepareAdjMat


drjingma/netgsa documentation built on Feb. 22, 2022, 5:18 p.m.