nta
Run single-omic NTA (Network-topology based analysis) with files at the provided paths
Parameters
edge_list_path-Stringof the path to the edge list file of the network. See below for details.analyte_list_path-Stringof the path to the rank file of interest, with analytes separated by new linesnta_method- aNTAMethodobject specifying the NTA method for the analysis.n- the number of seeds or nodes to identify according tonta_method
Returns
Returns a dictionary object containing the candidates (seed nodes when using prioritization), scores (random-walk probabilities), and neighborhood (identified nodes)
Panics
Panics if the network or the analyte file is malformed or not at specified path. Will also panic if nta_method is not specified correctly
Example
import webgestaltpy
nta_method = webgestaltpy.NTAMethod.Prioritization
y = webgestaltpy.nta("data/hsapiens_network_CPTAC_Proteomics_OV_entrezgene.net", "data/net_genes.txt", nta_method, 5)
print(y)
Output